Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001264/0.001264, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001414/0.001414, allocations: 161.9 kB / 22.46 MB, free: 5.375 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.499/1.499, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.225/1.225, allocations: 154.5 MB / 413.7 MB, free: 5.332 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.897e-05, allocations: 4 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007566/0.007594, allocations: 5.273 MB / 0.6237 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004944/0.01254, allocations: 2.609 MB / 0.6262 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.01305, allocations: 31.69 kB / 0.6263 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.01512, allocations: 0.6844 MB / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.01638, allocations: 437.2 kB / 0.6273 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.01758, allocations: 422.4 kB / 0.6278 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.01894, allocations: 0.9824 MB / 0.6287 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.01959, allocations: 382.5 kB / 0.6291 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/0.02044, allocations: 0.5143 MB / 0.6296 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.02106, allocations: 371 kB / 0.6299 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.02115, allocations: 48 kB / 0.63 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.02183, allocations: 339 kB / 0.6303 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.02213, allocations: 255.2 kB / 0.6305 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.02247, allocations: 251.3 kB / 0.6308 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.0237, allocations: 0.993 MB / 0.6318 GB, free: 7.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.02371, allocations: 4 kB / 0.6318 GB, free: 7.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.02371, allocations: 0 / 0.6318 GB, free: 7.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.02372, allocations: 0 / 0.6318 GB, free: 7.07 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001647/0.02537, allocations: 0.9091 MB / 0.6326 GB, free: 6.129 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.0254, allocations: 13.47 kB / 0.6327 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.02682, allocations: 212.2 kB / 0.6329 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.02766, allocations: 472.1 kB / 0.6333 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.0277, allocations: 33.38 kB / 0.6333 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.02786, allocations: 56.53 kB / 0.6334 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.02924, allocations: 0.979 MB / 0.6344 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.02927, allocations: 8.125 kB / 0.6344 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.02934, allocations: 28.12 kB / 0.6344 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.02954, allocations: 64.95 kB / 0.6344 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009875/0.03053, allocations: 0.5697 MB / 0.635 GB, free: 3.574 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.03484, allocations: 3.468 MB / 0.6384 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.03535, allocations: 283.3 kB / 0.6387 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.03567, allocations: 209.3 kB / 0.6389 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.0357, allocations: 8.219 kB / 0.6389 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.03574, allocations: 50.7 kB / 0.6389 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.03574, allocations: 0 / 0.6389 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006119/0.04186, allocations: 2.332 MB / 0.6412 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.04193, allocations: 55.41 kB / 0.6412 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.04246, allocations: 433.7 kB / 0.6417 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.04251, allocations: 37.7 kB / 0.6417 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.0428, allocations: 348.4 kB / 0.642 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.04295, allocations: 150.7 kB / 0.6422 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.04317, allocations: 106.2 kB / 0.6423 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.04339, allocations: 362.7 kB / 0.6426 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.04379, allocations: 241.2 kB / 0.6429 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.04436, allocations: 407.3 kB / 0.6432 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.04535, allocations: 0.6817 MB / 0.6439 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.04535, allocations: 4 kB / 0.6439 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001871/0.04722, allocations: 0.906 MB / 0.6448 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.04725, allocations: 8.062 kB / 0.6448 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.04726, allocations: 8 kB / 0.6448 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.04812, allocations: 226.3 kB / 0.645 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.04865, allocations: 115.9 kB / 0.6451 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.0546, allocations: 4.93 MB / 0.6499 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.05521, allocations: 31.97 kB / 0.65 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.05527, allocations: 27.94 kB / 0.65 GB, free: 3.484 MB / 0.5606 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.0004924/0.05576, allocations: 221.6 kB / 0.6502 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.05588, allocations: 55.67 kB / 0.6503 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.05749, allocations: 0.7654 MB / 0.651 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.0575, allocations: 4.141 kB / 0.651 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.0575, allocations: 0 / 0.651 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.05752, allocations: 11.97 kB / 0.651 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.05994, allocations: 1.326 MB / 0.6523 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.05995, allocations: 4 kB / 0.6523 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.06034, allocations: 72.09 kB / 0.6524 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007132/0.06106, allocations: 198.4 kB / 0.6526 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.06109, allocations: 12 kB / 0.6526 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.06625, allocations: 4.867 MB / 0.6574 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.06625, allocations: 8.094 kB / 0.6574 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.06818, allocations: 1.116 MB / 0.6585 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.0684, allocations: 91.62 kB / 0.6585 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.06848, allocations: 11.94 kB / 0.6586 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.0688, allocations: 28.03 kB / 0.6586 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.0689, allocations: 44.06 kB / 0.6586 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.06894, allocations: 12 kB / 0.6586 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003327/0.06927, allocations: 290.9 kB / 0.6589 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.06927, allocations: 3.938 kB / 0.6589 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007009/0.06997, allocations: 172 kB / 0.6591 GB, free: 9.734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 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,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.07015, allocations: 107.2 kB / 0.6592 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.07186, allocations: 0.9767 MB / 0.6601 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.07187, allocations: 0 / 0.6601 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.0729, allocations: 0.6617 MB / 0.6608 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.07381, allocations: 191.8 kB / 0.661 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.07586, allocations: 1.209 MB / 0.6621 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.07625, allocations: 346.1 kB / 0.6625 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.07656, allocations: 116.8 kB / 0.6626 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.07667, allocations: 44.48 kB / 0.6626 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.07667, allocations: 0 / 0.6626 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.01754/0.09421, allocations: 9.007 MB / 0.6714 GB, free: 13.17 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.104135636240244] Failed to read output from testmodel.py, exit status != 0: 0.10349517688155174 0.119600959 0.092542627 Calling exit ...