Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0011/0.0011, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.001277/0.001277, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9065/0.9065, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-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 0.7454/0.7454, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 76.58 kB / 0.6196 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4831, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004607/0.4877, allocations: 5.297 MB / 0.7243 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.4908, allocations: 2.602 MB / 0.7268 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.4912, allocations: 33.16 kB / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4922, allocations: 0.6989 MB / 0.7276 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.493, allocations: 425.6 kB / 0.728 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.4939, allocations: 415.4 kB / 0.7284 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.4946, allocations: 0.9563 MB / 0.7293 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.4951, allocations: 379.1 kB / 0.7296 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.4957, allocations: 0.5336 MB / 0.7302 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.4961, allocations: 402.9 kB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.4962, allocations: 47.22 kB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.4968, allocations: 329.9 kB / 0.7309 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.497, allocations: 262.7 kB / 0.7312 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.4972, allocations: 281.6 kB / 0.7314 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4983, allocations: 1.053 MB / 0.7325 GB, free: 16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4983, allocations: 3.938 kB / 0.7325 GB, free: 16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4983, allocations: 0 / 0.7325 GB, free: 16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4983, allocations: 1.375 kB / 0.7325 GB, free: 16 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001137/0.4994, allocations: 0.9181 MB / 0.7334 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4995, allocations: 9.141 kB / 0.7334 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.5003, allocations: 201.7 kB / 0.7336 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.5009, allocations: 478.5 kB / 0.734 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5009, allocations: 36.97 kB / 0.7341 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.501, allocations: 52.23 kB / 0.7341 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/0.5019, allocations: 0.9826 MB / 0.7351 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.5019, allocations: 6.891 kB / 0.7351 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.5019, allocations: 24.03 kB / 0.7351 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.5021, allocations: 63.75 kB / 0.7352 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.5027, allocations: 0.5704 MB / 0.7357 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.5049, allocations: 3.499 MB / 0.7391 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5052, allocations: 270.9 kB / 0.7394 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5054, allocations: 210.5 kB / 0.7396 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.5055, allocations: 4.219 kB / 0.7396 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.5055, allocations: 38 kB / 0.7396 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/0.5055, allocations: 1.312 kB / 0.7396 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.003228/0.5087, allocations: 2.336 MB / 0.7419 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.5087, allocations: 60.2 kB / 0.742 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.509, allocations: 434.1 kB / 0.7424 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5091, allocations: 34.92 kB / 0.7424 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.5092, allocations: 354.5 kB / 0.7428 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.5093, allocations: 146.1 kB / 0.7429 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5094, allocations: 110.2 kB / 0.743 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.5094, allocations: 363.3 kB / 0.7433 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.5097, allocations: 238.2 kB / 0.7436 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.51, allocations: 410.4 kB / 0.744 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.5105, allocations: 0.6729 MB / 0.7446 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5105, allocations: 4.969 kB / 0.7446 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001033/0.5115, allocations: 0.9157 MB / 0.7455 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5115, allocations: 7.406 kB / 0.7455 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5115, allocations: 9.125 kB / 0.7455 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.512, allocations: 229.4 kB / 0.7458 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.5123, allocations: 115.2 kB / 0.7459 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.5149, allocations: 4.936 MB / 0.7507 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5152, allocations: 30.3 kB / 0.7507 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.5152, allocations: 22.61 kB / 0.7507 GB, free: 3.516 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002185/0.5154, allocations: 227 kB / 0.751 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.5155, allocations: 57.92 kB / 0.751 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000874/0.5163, allocations: 0.7576 MB / 0.7517 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5163, allocations: 3.188 kB / 0.7517 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5164, allocations: 0.5156 kB / 0.7518 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.5165, allocations: 100.5 kB / 0.7518 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.5165, allocations: 10.02 kB / 0.7519 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5167, allocations: 25.11 kB / 0.7519 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.5167, allocations: 38.47 kB / 0.7519 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.5178, allocations: 0.8561 MB / 0.7528 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008369/0.5187, allocations: 0.9533 MB / 0.7537 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00028/0.519, allocations: 240.1 kB / 0.7539 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000298/0.5193, allocations: 291.1 kB / 0.7542 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of Backend: time 3.7e-07/0.5193, allocations: 0 / 0.7542 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.521, allocations: 1.033 MB / 0.7552 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001869/0.5229, allocations: 1.788 MB / 0.7569 GB, free: 84 kB / 0.6355 GB Notification: Performance of Templates: time 0.01445/0.5373, allocations: 11.48 MB / 0.7682 GB, free: 11.07 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.45536526106298] Failed to read output from testmodel.py, exit status != 0: 0.5488328021019697 0.5572703520000001 0.057298129 Calling exit ...