Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007206/0.0007206, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0007197/0.0007197, allocations: 211.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.862/0.862, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7322/0.7322, allocations: 203.8 MB / 0.5049 GB, free: 0.7422 MB / 410.7 MB " [Timeout remaining time 179] 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.0008968/0.0008968, allocations: 71.88 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.435, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00622/0.4413, allocations: 7.07 MB / 0.826 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.4453, allocations: 3.221 MB / 0.8291 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/0.4459, allocations: 39.97 kB / 0.8292 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.4472, allocations: 0.9853 MB / 0.8301 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.4483, allocations: 0.5264 MB / 0.8307 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.4493, allocations: 453.1 kB / 0.8311 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.4504, allocations: 1.232 MB / 0.8323 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.4511, allocations: 0.5328 MB / 0.8328 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.4518, allocations: 497.7 kB / 0.8333 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.4524, allocations: 0.5457 MB / 0.8338 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.4525, allocations: 70.94 kB / 0.8339 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.4532, allocations: 388.9 kB / 0.8343 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4535, allocations: 321.4 kB / 0.8346 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.4538, allocations: 451.7 kB / 0.835 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.4552, allocations: 1.227 MB / 0.8362 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4552, allocations: 0 / 0.8362 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4552, allocations: 0 / 0.8362 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.4552, allocations: 0 / 0.8362 GB, free: 15.06 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001662/0.4569, allocations: 1.116 MB / 0.8373 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4569, allocations: 11.72 kB / 0.8373 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.458, allocations: 243.2 kB / 0.8375 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.4588, allocations: 0.5417 MB / 0.8381 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.4588, allocations: 47.3 kB / 0.8381 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.4589, allocations: 66.08 kB / 0.8382 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.46, allocations: 1.089 MB / 0.8392 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.46, allocations: 3.047 kB / 0.8392 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.46, allocations: 33.2 kB / 0.8393 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.4602, allocations: 85.33 kB / 0.8393 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.4611, allocations: 0.7528 MB / 0.8401 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.4643, allocations: 5.804 MB / 0.8457 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.465, allocations: 0.5114 MB / 0.8462 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.4653, allocations: 283 kB / 0.8465 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4653, allocations: 13.42 kB / 0.8465 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4653, allocations: 43.41 kB / 0.8466 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.4653, allocations: 0 / 0.8466 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002459/0.4678, allocations: 1.689 MB / 0.8482 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.4678, allocations: 57.08 kB / 0.8483 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.4683, allocations: 0.5635 MB / 0.8488 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.4683, allocations: 32.95 kB / 0.8489 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4685, allocations: 431 kB / 0.8493 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.4686, allocations: 177 kB / 0.8494 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.4687, allocations: 128.4 kB / 0.8496 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.4688, allocations: 382 kB / 0.8499 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.4691, allocations: 275.6 kB / 0.8502 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4694, allocations: 495.2 kB / 0.8507 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.4701, allocations: 0.8122 MB / 0.8515 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4701, allocations: 2.094 kB / 0.8515 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001126/0.4712, allocations: 1.077 MB / 0.8525 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4712, allocations: 7.969 kB / 0.8525 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4712, allocations: 7.641 kB / 0.8525 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.4718, allocations: 278.1 kB / 0.8528 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.4721, allocations: 128.2 kB / 0.8529 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.4759, allocations: 6.733 MB / 0.8595 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.4764, allocations: 40.5 kB / 0.8595 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.4764, allocations: 28.22 kB / 0.8595 GB, free: 14.38 MB / 0.6511 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.0003474/0.4767, allocations: 258.1 kB / 0.8598 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.4768, allocations: 74.14 kB / 0.8599 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4779, allocations: 0.8864 MB / 0.8607 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4779, allocations: 4.375 kB / 0.8607 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4779, allocations: 3.844 kB / 0.8607 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4779, allocations: 2.484 kB / 0.8607 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.48, allocations: 1.677 MB / 0.8624 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.48, allocations: 6.594 kB / 0.8624 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.4801, allocations: 64.25 kB / 0.8624 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.4806, allocations: 270 kB / 0.8627 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.4806, allocations: 7.406 kB / 0.8627 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004122/0.4847, allocations: 6.732 MB / 0.8693 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4847, allocations: 2.438 kB / 0.8693 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4858, allocations: 0.9824 MB / 0.8702 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.4861, allocations: 116.7 kB / 0.8704 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.4861, allocations: 12.12 kB / 0.8704 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4863, allocations: 29.66 kB / 0.8704 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.4864, allocations: 41.67 kB / 0.8704 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4864, allocations: 15 kB / 0.8705 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003487/0.4868, allocations: 397.1 kB / 0.8708 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4868, allocations: 3.938 kB / 0.8708 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007055/0.4875, allocations: 225 kB / 0.8711 GB, free: 5.648 MB / 0.6511 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.0001367/0.4876, allocations: 111.3 kB / 0.8712 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.4889, allocations: 1.235 MB / 0.8724 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.489, allocations: 1.469 kB / 0.8724 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006941/0.4896, allocations: 0.8623 MB / 0.8732 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.4903, allocations: 220.1 kB / 0.8734 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.492, allocations: 1.435 MB / 0.8748 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4925, allocations: 1.011 MB / 0.8758 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4926, allocations: 46.38 kB / 0.8758 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/0.4926, allocations: 4 kB / 0.8759 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of Templates: time 0.01769/0.5103, allocations: 20.95 MB / 0.8963 GB, free: 2.105 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.013024098007008] Failed to read output from testmodel.py, exit status != 0: 0.5159274800680578 0.52444409 0.06749875600000001 Calling exit ...