Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 109.6 kB / 16.96 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 188.8 kB / 17.9 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.66/2.66, allocations: 205.1 MB / 223.8 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1058/0.1058, allocations: 14.17 MB / 285.3 MB, free: 13.94 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 67.91 kB / 346.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5504, allocations: 50.14 MB / 396.6 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.01718/0.5677, allocations: 7.286 MB / 403.9 MB, free: 42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009487/0.5772, allocations: 3.536 MB / 407.4 MB, free: 39.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.5793, allocations: 21.66 kB / 407.5 MB, free: 39.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.5815, allocations: 424.3 kB / 407.9 MB, free: 38.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.5934, allocations: 1.576 MB / 409.5 MB, free: 37.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.5957, allocations: 0.5696 MB / 410 MB, free: 37.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.6002, allocations: 1.832 MB / 411.9 MB, free: 35.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.6007, allocations: 129.4 kB / 412 MB, free: 35.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.6027, allocations: 0.6235 MB / 412.6 MB, free: 35.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.6045, allocations: 0.6386 MB / 413.2 MB, free: 35.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.6049, allocations: 64 kB / 413.3 MB, free: 34.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.6072, allocations: 435.7 kB / 413.7 MB, free: 34.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.6075, allocations: 171.2 kB / 413.9 MB, free: 34.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.6088, allocations: 0.5442 MB / 414.4 MB, free: 33.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.6124, allocations: 1.458 MB / 415.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6124, allocations: 3.938 kB / 415.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.6125, allocations: 0 / 415.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.6125, allocations: 3.938 kB / 415.9 MB, free: 32.38 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.014/0.6265, allocations: 1.75 MB / 417.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.6266, allocations: 8.031 kB / 417.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.628, allocations: 147.7 kB / 417.8 MB, free: 30.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.6302, allocations: 0.6648 MB / 418.5 MB, free: 29.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.6303, allocations: 62.38 kB / 418.5 MB, free: 29.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.6305, allocations: 75.94 kB / 418.6 MB, free: 29.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.6325, allocations: 0.7504 MB / 419.4 MB, free: 28.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.6326, allocations: 3.938 kB / 419.4 MB, free: 28.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.6327, allocations: 28 kB / 419.4 MB, free: 28.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.6327, allocations: 27.92 kB / 419.4 MB, free: 28.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.6347, allocations: 0.73 MB / 420.2 MB, free: 28.02 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008539/0.6433, allocations: 4.804 MB / 425 MB, free: 22.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.646, allocations: 1.18 MB / 426.1 MB, free: 21.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.6467, allocations: 318.7 kB / 426.4 MB, free: 21.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.069e-05/0.6468, allocations: 20.62 kB / 426.5 MB, free: 21.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6469, allocations: 39.22 kB / 426.5 MB, free: 21.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 6.372e-06/0.6469, allocations: 0 / 426.5 MB, free: 21.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.004662/0.6516, allocations: 1.262 MB / 427.8 MB, free: 19.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6516, allocations: 68 kB / 427.8 MB, free: 19.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.6529, allocations: 0.538 MB / 428.4 MB, free: 19.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.6529, allocations: 41.7 kB / 428.4 MB, free: 19.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.6532, allocations: 348.1 kB / 428.8 MB, free: 18.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.6536, allocations: 283.8 kB / 429 MB, free: 18.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.6539, allocations: 130.6 kB / 429.2 MB, free: 18.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6541, allocations: 374.8 kB / 429.5 MB, free: 17.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.6546, allocations: 229.9 kB / 429.7 MB, free: 17.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.6552, allocations: 304.9 kB / 430 MB, free: 17.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.6565, allocations: 0.5786 MB / 430.6 MB, free: 16.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.6565, allocations: 4 kB / 430.6 MB, free: 16.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002403/0.6589, allocations: 0.8565 MB / 431.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.659, allocations: 8 kB / 431.5 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.659, allocations: 0 / 431.5 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.6599, allocations: 179.8 kB / 431.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6612, allocations: 195.9 kB / 431.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.6658, allocations: 2.526 MB / 434.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.667, allocations: 55.5 kB / 434.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.6671, allocations: 28 kB / 434.5 MB, free: 12.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.6676, allocations: 217.7 kB / 434.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.668, allocations: 75.16 kB / 434.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.6703, allocations: 0.8415 MB / 435.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6703, allocations: 8 kB / 435.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.6704, allocations: 7.938 kB / 435.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6704, allocations: 3.984 kB / 435.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.6745, allocations: 2.011 MB / 437.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6745, allocations: 0 / 437.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.6756, allocations: 167.8 kB / 437.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007873/0.6764, allocations: 179.9 kB / 438 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.6765, allocations: 16 kB / 438 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.6811, allocations: 2.527 MB / 440.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6811, allocations: 0 / 440.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/0.6844, allocations: 2.068 MB / 442.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/0.685, allocations: 236 kB / 442.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.6853, allocations: 16 kB / 442.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6863, allocations: 20 kB / 442.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6865, allocations: 48.58 kB / 442.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.6866, allocations: 24 kB / 442.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007575/0.6873, allocations: 378.8 kB / 443.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.6874, allocations: 0 / 443.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001871/0.6892, allocations: 315.6 kB / 443.6 MB, free: 3.332 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/0.6897, allocations: 179.1 kB / 443.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.6922, allocations: 0.8264 MB / 444.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6922, allocations: 0 / 444.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.6936, allocations: 0.5411 MB / 445.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.695, allocations: 114.3 kB / 445.2 MB, free: 1.641 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.6992, allocations: 1.715 MB / 447 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.7001, allocations: 0.9583 MB / 447.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.7005, allocations: 67.42 kB / 448 MB, free: 14.83 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7005, allocations: 0 / 448 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Templates: time 0.03335/0.7339, allocations: 13.7 MB / 461.7 MB, free: 1.141 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1)