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.001353/0.001353, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001466/0.001466, allocations: 165 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.27/1.27, allocations: 154.6 MB / 413.7 MB, free: 5.293 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_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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.583e-05, allocations: 7.734 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008774/0.0088, allocations: 6.464 MB / 0.6248 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.01403, allocations: 3.007 MB / 0.6278 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.01439, allocations: 43.62 kB / 0.6278 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.01695, allocations: 0.9514 MB / 0.6287 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.01813, allocations: 0.5435 MB / 0.6293 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.01921, allocations: 446 kB / 0.6297 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.02074, allocations: 1.271 MB / 0.6309 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.02162, allocations: 0.5334 MB / 0.6315 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.02252, allocations: 0.6624 MB / 0.6321 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007492/0.02327, allocations: 478.6 kB / 0.6326 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.02339, allocations: 68 kB / 0.6326 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.02403, allocations: 351.1 kB / 0.633 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.02435, allocations: 331 kB / 0.6333 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.02473, allocations: 307.3 kB / 0.6336 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.02617, allocations: 1.254 MB / 0.6348 GB, free: 3.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02617, allocations: 0 / 0.6348 GB, free: 3.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.02617, allocations: 4 kB / 0.6348 GB, free: 3.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.0262, allocations: 4 kB / 0.6348 GB, free: 3.902 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.002015/0.02821, allocations: 1.104 MB / 0.6359 GB, free: 2.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.02825, allocations: 13.47 kB / 0.6359 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.02983, allocations: 252 kB / 0.6361 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.0308, allocations: 0.5391 MB / 0.6367 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.03085, allocations: 49.67 kB / 0.6367 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.03096, allocations: 68.3 kB / 0.6368 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.03268, allocations: 1.344 MB / 0.6381 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.0327, allocations: 8.172 kB / 0.6381 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.03278, allocations: 32.36 kB / 0.6381 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.03296, allocations: 89.19 kB / 0.6382 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.0342, allocations: 0.7504 MB / 0.6389 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.03931, allocations: 4.507 MB / 0.6433 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.04032, allocations: 0.5049 MB / 0.6438 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.04076, allocations: 286.2 kB / 0.6441 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.04079, allocations: 4.5 kB / 0.6441 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.04083, allocations: 43 kB / 0.6442 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.04083, allocations: 0 / 0.6442 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003915/0.04474, allocations: 1.685 MB / 0.6458 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.04479, allocations: 59.89 kB / 0.6459 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.04541, allocations: 0.5183 MB / 0.6464 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.04545, allocations: 29.7 kB / 0.6464 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.04576, allocations: 427.8 kB / 0.6468 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.0459, allocations: 170.5 kB / 0.647 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.04611, allocations: 130.6 kB / 0.6471 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.0463, allocations: 370.8 kB / 0.6474 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.04674, allocations: 269.9 kB / 0.6477 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.04736, allocations: 0.493 MB / 0.6482 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.04869, allocations: 0.8086 MB / 0.649 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.04869, allocations: 0 / 0.649 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002423/0.05112, allocations: 1.074 MB / 0.65 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.05114, allocations: 8 kB / 0.65 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.05115, allocations: 8 kB / 0.65 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/0.05204, allocations: 283.3 kB / 0.6503 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.05253, allocations: 123.8 kB / 0.6504 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/0.05979, allocations: 6.59 MB / 0.6569 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.06043, allocations: 39.97 kB / 0.6569 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.06048, allocations: 31.94 kB / 0.6569 GB, free: 12.14 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.0003956/0.06088, allocations: 254.6 kB / 0.6572 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.061, allocations: 71.58 kB / 0.6572 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.06264, allocations: 0.8701 MB / 0.6581 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.06265, allocations: 11.94 kB / 0.6581 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.06265, allocations: 0 / 0.6581 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.06266, allocations: 7.984 kB / 0.6581 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.06531, allocations: 1.545 MB / 0.6596 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.06531, allocations: 0 / 0.6596 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.06559, allocations: 59.89 kB / 0.6597 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008111/0.0664, allocations: 263.4 kB / 0.6599 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.06644, allocations: 12 kB / 0.6599 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007242/0.07369, allocations: 6.586 MB / 0.6664 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.07369, allocations: 0 / 0.6664 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.07549, allocations: 0.974 MB / 0.6673 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.07576, allocations: 107.6 kB / 0.6674 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.07584, allocations: 12 kB / 0.6674 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.0762, allocations: 23.97 kB / 0.6675 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.07633, allocations: 51.84 kB / 0.6675 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.07637, allocations: 20.06 kB / 0.6675 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004764/0.07684, allocations: 342.8 kB / 0.6679 GB, free: 396 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.07684, allocations: 0 / 0.6679 GB, free: 396 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008097/0.07765, allocations: 224 kB / 0.6681 GB, free: 172 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.0002008/0.07785, allocations: 115.4 kB / 0.6682 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.08024, allocations: 1.228 MB / 0.6694 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.08024, allocations: 0 / 0.6694 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.08179, allocations: 0.8658 MB / 0.6702 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.08289, allocations: 205.3 kB / 0.6704 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.08522, allocations: 1.344 MB / 0.6717 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.08566, allocations: 412.8 kB / 0.6721 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.08598, allocations: 121.5 kB / 0.6722 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.08609, allocations: 36.5 kB / 0.6723 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.08609, allocations: 4 kB / 0.6723 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.01954/0.1056, allocations: 11.28 MB / 0.6833 GB, free: 0.6875 MB / 0.5919 GB " [Timeout remaining time 660] 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: 6.242624785751104] Failed to read output from testmodel.py, exit status != 0: 0.11413205787539482 0.12858139200000002 0.099329727 Calling exit ...