Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001939/0.001939, allocations: 77.08 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002312/0.002312, allocations: 169.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.712e-05, allocations: 3.844 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009865/0.009892, allocations: 6.455 MB / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005964/0.01586, allocations: 3.02 MB / 0.6278 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.01665, allocations: 39.62 kB / 0.6279 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.01978, allocations: 0.9564 MB / 0.6288 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.02154, allocations: 0.5357 MB / 0.6293 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.02305, allocations: 454.7 kB / 0.6298 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.02536, allocations: 1.263 MB / 0.631 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.02678, allocations: 0.5372 MB / 0.6315 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.02853, allocations: 0.6585 MB / 0.6322 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.02974, allocations: 478.7 kB / 0.6326 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.02998, allocations: 72 kB / 0.6327 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.03137, allocations: 351 kB / 0.633 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.03188, allocations: 335 kB / 0.6333 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.03246, allocations: 311.3 kB / 0.6336 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.03441, allocations: 1.246 MB / 0.6349 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.03442, allocations: 0 / 0.6349 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.03442, allocations: 3.938 kB / 0.6349 GB, free: 3.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.857e-05/0.03447, allocations: 0 / 0.6349 GB, free: 3.848 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002735/0.0372, allocations: 1.112 MB / 0.6359 GB, free: 2.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.03725, allocations: 12.03 kB / 0.636 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.03908, allocations: 248.1 kB / 0.6362 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.04035, allocations: 0.5391 MB / 0.6367 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.0404, allocations: 49.67 kB / 0.6368 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.04057, allocations: 68.36 kB / 0.6368 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.04262, allocations: 1.336 MB / 0.6381 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.04265, allocations: 8.172 kB / 0.6381 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.04274, allocations: 32.34 kB / 0.6382 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.04291, allocations: 89.14 kB / 0.6383 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.0442, allocations: 0.7543 MB / 0.639 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006005/0.0502, allocations: 4.503 MB / 0.6434 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.05152, allocations: 0.5088 MB / 0.6439 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.052, allocations: 282.2 kB / 0.6442 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.05203, allocations: 12.5 kB / 0.6442 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.05207, allocations: 39.06 kB / 0.6442 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.05208, allocations: 0 / 0.6442 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004191/0.05627, allocations: 1.681 MB / 0.6459 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.05633, allocations: 55.91 kB / 0.6459 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.05711, allocations: 0.5222 MB / 0.6464 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.05717, allocations: 33.7 kB / 0.6465 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.05751, allocations: 427.9 kB / 0.6469 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.05769, allocations: 170.5 kB / 0.647 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.05792, allocations: 130.6 kB / 0.6471 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.05816, allocations: 362.8 kB / 0.6475 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.05863, allocations: 277.8 kB / 0.6478 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.05928, allocations: 496.9 kB / 0.6482 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.06046, allocations: 0.8086 MB / 0.649 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.06046, allocations: 4 kB / 0.649 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002163/0.06262, allocations: 1.07 MB / 0.6501 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.06265, allocations: 12 kB / 0.6501 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.06267, allocations: 4.875 kB / 0.6501 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.06365, allocations: 287.1 kB / 0.6504 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.06418, allocations: 127.7 kB / 0.6505 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/0.07158, allocations: 6.594 MB / 0.6569 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.07225, allocations: 39.91 kB / 0.657 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.07231, allocations: 31.94 kB / 0.657 GB, free: 12.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000411/0.07272, allocations: 254.5 kB / 0.6572 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.07285, allocations: 71.56 kB / 0.6573 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.07457, allocations: 0.8819 MB / 0.6582 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.07458, allocations: 4 kB / 0.6582 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.07459, allocations: 4 kB / 0.6582 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.07459, allocations: 3.984 kB / 0.6582 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.07734, allocations: 1.527 MB / 0.6597 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.07735, allocations: 0 / 0.6597 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.07767, allocations: 59.89 kB / 0.6597 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/0.07848, allocations: 271.4 kB / 0.66 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.07852, allocations: 8 kB / 0.66 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.08571, allocations: 6.583 MB / 0.6664 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.08571, allocations: 0 / 0.6664 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.08746, allocations: 0.9777 MB / 0.6674 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.0878, allocations: 107.6 kB / 0.6675 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.08788, allocations: 12 kB / 0.6675 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.08827, allocations: 31.97 kB / 0.6675 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.08841, allocations: 47.84 kB / 0.6676 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.08844, allocations: 12 kB / 0.6676 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000427/0.08887, allocations: 342.9 kB / 0.6679 GB, free: 356 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.08887, allocations: 7.875 kB / 0.6679 GB, free: 348 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008837/0.08975, allocations: 224 kB / 0.6681 GB, free: 124 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002155/0.08997, allocations: 125.5 kB / 0.6682 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.09209, allocations: 1.225 MB / 0.6694 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.09209, allocations: 8.062 kB / 0.6694 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.09348, allocations: 0.858 MB / 0.6703 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.09458, allocations: 192.6 kB / 0.6705 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.09697, allocations: 1.345 MB / 0.6718 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.09745, allocations: 412.8 kB / 0.6722 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003847/0.09783, allocations: 117.5 kB / 0.6723 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.09796, allocations: 52.48 kB / 0.6723 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.09796, allocations: 0 / 0.6723 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.02114/0.1191, allocations: 11.27 MB / 0.6833 GB, free: 0.6367 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.424685187637806] Failed to read output from testmodel.py, exit status != 0: 0.13035639375448227 0.15429858899999996 0.115140272 Calling exit ...