Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9787/0.9787, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7516/0.7516, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.193e-05, allocations: 5.688 kB / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005563/0.005575, allocations: 6.664 MB / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003397/0.008972, allocations: 2.444 MB / 0.5297 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.009407, allocations: 72.34 kB / 0.5297 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.01003, allocations: 329.4 kB / 0.5301 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01107, allocations: 0.8661 MB / 0.5309 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.01178, allocations: 0.563 MB / 0.5314 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.01327, allocations: 2.212 MB / 0.5336 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008565/0.01413, allocations: 1.014 MB / 0.5346 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.01513, allocations: 1.22 MB / 0.5358 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.01589, allocations: 0.8728 MB / 0.5366 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.01602, allocations: 116 kB / 0.5368 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.01634, allocations: 243.7 kB / 0.537 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.01666, allocations: 0.5608 MB / 0.5375 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.01702, allocations: 0.526 MB / 0.538 GB, free: 168 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008962/0.01792, allocations: 1.289 MB / 0.5393 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01792, allocations: 0 / 0.5393 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01792, allocations: 0 / 0.5393 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.01794, allocations: 0.9375 kB / 0.5393 GB, free: 14.87 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001499/0.01944, allocations: 1.821 MB / 0.5411 GB, free: 13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01947, allocations: 13.47 kB / 0.5411 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.02136, allocations: 0.7599 MB / 0.5418 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.02228, allocations: 0.9131 MB / 0.5427 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.02233, allocations: 98.89 kB / 0.5428 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.02246, allocations: 132.3 kB / 0.543 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.02368, allocations: 1.733 MB / 0.5446 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.02371, allocations: 16.06 kB / 0.5447 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.02379, allocations: 57.69 kB / 0.5447 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.02391, allocations: 166.2 kB / 0.5449 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.02463, allocations: 0.6799 MB / 0.5455 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005351/0.02998, allocations: 11.09 MB / 0.5564 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.03164, allocations: 1.356 MB / 0.5577 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.03184, allocations: 178.6 kB / 0.5579 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.03191, allocations: 34.45 kB / 0.5579 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.03194, allocations: 54.31 kB / 0.5579 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=103): time 2.454e-06/0.03194, allocations: 1.562 kB / 0.5579 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110): time 0.001873/0.03381, allocations: 1.451 MB / 0.5594 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.03384, allocations: 60.41 kB / 0.5594 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.03434, allocations: 0.8475 MB / 0.5603 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.03438, allocations: 45.7 kB / 0.5603 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.03471, allocations: 0.8103 MB / 0.5611 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.0349, allocations: 404.6 kB / 0.5615 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.0352, allocations: 292.9 kB / 0.5618 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.0353, allocations: 485.5 kB / 0.5622 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.03552, allocations: 207.8 kB / 0.5624 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.03603, allocations: 0.9038 MB / 0.5633 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.03687, allocations: 1.242 MB / 0.5645 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.03688, allocations: 4 kB / 0.5645 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001259/0.03814, allocations: 1.318 MB / 0.5658 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.03816, allocations: 15.94 kB / 0.5658 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.03817, allocations: 16.84 kB / 0.5658 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.03857, allocations: 223.2 kB / 0.566 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.03912, allocations: 315.5 kB / 0.5663 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.04413, allocations: 13.81 MB / 0.5798 GB, free: 3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.04453, allocations: 47.94 kB / 0.5799 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.04459, allocations: 59.98 kB / 0.5799 GB, free: 2.895 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.04482, allocations: 262.6 kB / 0.5802 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.04495, allocations: 159.2 kB / 0.5803 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009514/0.0459, allocations: 0.9125 MB / 0.5812 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.04591, allocations: 8 kB / 0.5812 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.04591, allocations: 5.094 kB / 0.5812 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.04592, allocations: 11.91 kB / 0.5812 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.04783, allocations: 1.854 MB / 0.5831 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.04783, allocations: 4 kB / 0.5831 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.04819, allocations: 167.8 kB / 0.5832 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000349/0.04854, allocations: 210.8 kB / 0.5834 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.04858, allocations: 27.98 kB / 0.5834 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.05342, allocations: 13.79 MB / 0.5969 GB, free: 376 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.05343, allocations: 11.94 kB / 0.5969 GB, free: 364 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.0544, allocations: 1.181 MB / 0.5981 GB, free: 15.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.05463, allocations: 203 kB / 0.5983 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.0547, allocations: 27.94 kB / 0.5983 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.05496, allocations: 24 kB / 0.5983 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.05506, allocations: 104.7 kB / 0.5984 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.05509, allocations: 28 kB / 0.5984 GB, free: 14.65 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002781/0.05537, allocations: 490 kB / 0.5989 GB, free: 14.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.05537, allocations: 0 / 0.5989 GB, free: 14.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007652/0.05614, allocations: 392 kB / 0.5993 GB, free: 13.78 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.0563, allocations: 139 kB / 0.5994 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.05772, allocations: 2.139 MB / 0.6015 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.05773, allocations: 4 kB / 0.6015 GB, free: 11.35 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.0586, allocations: 1.698 MB / 0.6032 GB, free: 9.512 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.05945, allocations: 351.7 kB / 0.6035 GB, free: 9.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.06194, allocations: 2.488 MB / 0.6059 GB, free: 6.551 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.06218, allocations: 361.3 kB / 0.6063 GB, free: 6.176 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005075/0.06268, allocations: 179.2 kB / 0.6065 GB, free: 5.996 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.06317, allocations: 374 kB / 0.6068 GB, free: 5.629 MB / 0.573 GB Notification: Performance of SimCode: time 8.52e-07/0.06317, allocations: 0 / 0.6068 GB, free: 5.629 MB / 0.573 GB Notification: Performance of Templates: time 0.01992/0.0831, allocations: 18.59 MB / 0.625 GB, free: 3.426 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.980611216276884]