Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001328/0.001328, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00147/0.00147, allocations: 209 kB / 24.48 MB, free: 3.938 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2052/0.2052, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: PowerSystems 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.002081/0.002081, allocations: 71.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3606, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006138/0.3668, allocations: 4.302 MB / 0.5474 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.3697, allocations: 1.476 MB / 0.5488 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.3699, allocations: 19.75 kB / 0.5488 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.3709, allocations: 287.2 kB / 0.5491 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.3715, allocations: 279.6 kB / 0.5494 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.3723, allocations: 256.5 kB / 0.5496 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.3731, allocations: 0.6063 MB / 0.5502 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.3734, allocations: 200.9 kB / 0.5504 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.3739, allocations: 286 kB / 0.5507 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.3745, allocations: 378.5 kB / 0.551 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.3745, allocations: 38.81 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.375, allocations: 229.9 kB / 0.5513 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3753, allocations: 236 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3755, allocations: 215.5 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008773/0.3764, allocations: 0.6882 MB / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3764, allocations: 0 / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3764, allocations: 0 / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3764, allocations: 0 / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001517/0.3779, allocations: 0.7023 MB / 0.5531 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.378, allocations: 17.39 kB / 0.5531 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.3788, allocations: 133.2 kB / 0.5532 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.3796, allocations: 364.5 kB / 0.5536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3796, allocations: 23.31 kB / 0.5536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3797, allocations: 53.75 kB / 0.5536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3809, allocations: 0.6926 MB / 0.5543 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3809, allocations: 1.125 kB / 0.5543 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.3809, allocations: 19.42 kB / 0.5543 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.3812, allocations: 63.86 kB / 0.5544 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3822, allocations: 0.6757 MB / 0.5551 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.3859, allocations: 2.399 MB / 0.5574 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.3864, allocations: 297.2 kB / 0.5577 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.3866, allocations: 193.7 kB / 0.5579 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3867, allocations: 4 kB / 0.5579 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3867, allocations: 38.5 kB / 0.5579 GB, free: 4.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.3867, allocations: 0 / 0.5579 GB, free: 4.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002084/0.3888, allocations: 1.233 MB / 0.5591 GB, free: 3.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3889, allocations: 85.22 kB / 0.5592 GB, free: 3.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.3892, allocations: 284.1 kB / 0.5595 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3892, allocations: 33.7 kB / 0.5595 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3894, allocations: 256.1 kB / 0.5597 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3895, allocations: 142.8 kB / 0.5599 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3896, allocations: 90.06 kB / 0.56 GB, free: 2.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3898, allocations: 346.8 kB / 0.5603 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.3901, allocations: 184.8 kB / 0.5605 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.3904, allocations: 328.9 kB / 0.5608 GB, free: 1.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.3912, allocations: 0.5546 MB / 0.5613 GB, free: 1.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3912, allocations: 3.938 kB / 0.5613 GB, free: 1.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00123/0.3924, allocations: 0.6782 MB / 0.562 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3924, allocations: 8 kB / 0.562 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000826/0.3932, allocations: 487.5 kB / 0.5625 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.3937, allocations: 109.6 kB / 0.5626 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.394, allocations: 83.81 kB / 0.5626 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.3969, allocations: 3.006 MB / 0.5656 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3972, allocations: 23.98 kB / 0.5656 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.3973, allocations: 23.98 kB / 0.5656 GB, free: 12.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.3976, allocations: 217.7 kB / 0.5658 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3977, allocations: 35.7 kB / 0.5659 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.3984, allocations: 468.6 kB / 0.5663 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.3984, allocations: 8 kB / 0.5663 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3984, allocations: 3.984 kB / 0.5663 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3984, allocations: 4 kB / 0.5663 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.3999, allocations: 0.8865 MB / 0.5672 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3999, allocations: 4 kB / 0.5672 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.4002, allocations: 68.03 kB / 0.5673 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4002, allocations: 4 kB / 0.5673 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.4002, allocations: 15.97 kB / 0.5673 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4002, allocations: 0 / 0.5673 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4002, allocations: 0 / 0.5673 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.4012, allocations: 0.7479 MB / 0.568 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.4014, allocations: 59.78 kB / 0.5681 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.4014, allocations: 12.05 kB / 0.5681 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4016, allocations: 19.98 kB / 0.5681 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.4017, allocations: 19.91 kB / 0.5681 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.4017, allocations: 11.98 kB / 0.5681 GB, free: 9.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.4019, allocations: 195.1 kB / 0.5683 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4019, allocations: 3.938 kB / 0.5683 GB, free: 9.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005521/0.4024, allocations: 111.9 kB / 0.5684 GB, free: 9.535 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.4027, allocations: 135.1 kB / 0.5686 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.4038, allocations: 0.6815 MB / 0.5692 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4038, allocations: 0 / 0.5692 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.4041, allocations: 200.9 kB / 0.5694 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.4046, allocations: 68.73 kB / 0.5695 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.4065, allocations: 1.181 MB / 0.5706 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4068, allocations: 269.8 kB / 0.5709 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4069, allocations: 35.44 kB / 0.5709 GB, free: 6.887 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4069, allocations: 0 / 0.5709 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Templates: time 0.011/0.4179, allocations: 7.149 MB / 0.5779 GB, free: 15.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.922320138197392] Failed to read output from testmodel.py, exit status != 0: 0.4272072780877352 0.44160690900000005 0.062105593 Calling exit ...