Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001754/0.001754, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002418/0.002418, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1924/0.1924, allocations: 38.54 MB / 352.5 MB, free: 12.44 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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [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.002101/0.002101, allocations: 69.61 kB / 493 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3822, allocations: 62.47 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006977/0.3892, allocations: 4.448 MB / 0.5468 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3922, allocations: 1.501 MB / 0.5482 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3924, allocations: 20.91 kB / 0.5483 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.3934, allocations: 283 kB / 0.5485 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.394, allocations: 274 kB / 0.5488 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.3948, allocations: 257 kB / 0.549 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.3955, allocations: 0.6131 MB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.3959, allocations: 220.3 kB / 0.5498 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.3964, allocations: 289.7 kB / 0.5501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.3969, allocations: 332 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.397, allocations: 37.12 kB / 0.5505 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.3974, allocations: 154.6 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.3976, allocations: 229.3 kB / 0.5508 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.3979, allocations: 197.8 kB / 0.551 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.3987, allocations: 0.6139 MB / 0.5516 GB, free: 9.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3987, allocations: 0 / 0.5516 GB, free: 9.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3987, allocations: 0.9688 kB / 0.5516 GB, free: 9.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3987, allocations: 4 kB / 0.5516 GB, free: 9.676 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001509/0.4002, allocations: 0.7064 MB / 0.5523 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4003, allocations: 13.7 kB / 0.5523 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.401, allocations: 122.1 kB / 0.5524 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.4018, allocations: 356.4 kB / 0.5528 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.4018, allocations: 33.73 kB / 0.5528 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.402, allocations: 55.3 kB / 0.5529 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.403, allocations: 0.662 MB / 0.5535 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.403, allocations: 9.016 kB / 0.5535 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.4031, allocations: 21.86 kB / 0.5535 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.4032, allocations: 46.91 kB / 0.5536 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008115/0.4041, allocations: 490.5 kB / 0.5541 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.4078, allocations: 2.915 MB / 0.5569 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.4082, allocations: 233.3 kB / 0.5571 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4084, allocations: 113.7 kB / 0.5572 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.4085, allocations: 8 kB / 0.5572 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4085, allocations: 42.44 kB / 0.5573 GB, free: 4.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.124e-06/0.4085, allocations: 0 / 0.5573 GB, free: 4.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001533/0.41, allocations: 0.83 MB / 0.5581 GB, free: 3.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.4101, allocations: 81.11 kB / 0.5582 GB, free: 3.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.4105, allocations: 344.3 kB / 0.5585 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4105, allocations: 29.7 kB / 0.5585 GB, free: 3.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.4108, allocations: 295.9 kB / 0.5588 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.4108, allocations: 95.2 kB / 0.5589 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.411, allocations: 90.2 kB / 0.559 GB, free: 2.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4111, allocations: 346.8 kB / 0.5593 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4114, allocations: 136.7 kB / 0.5595 GB, free: 2.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.4118, allocations: 317.2 kB / 0.5598 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.4124, allocations: 0.5009 MB / 0.5602 GB, free: 1.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4124, allocations: 4 kB / 0.5602 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001162/0.4136, allocations: 0.5966 MB / 0.5608 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4136, allocations: 8 kB / 0.5608 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006522/0.4143, allocations: 321.8 kB / 0.5611 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.4147, allocations: 113.6 kB / 0.5613 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.415, allocations: 95.77 kB / 0.5613 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.4181, allocations: 3.009 MB / 0.5643 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.4183, allocations: 16 kB / 0.5643 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.4184, allocations: 27.98 kB / 0.5643 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0002792/0.4187, allocations: 217.7 kB / 0.5645 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.4187, allocations: 31.81 kB / 0.5646 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.4193, allocations: 324.9 kB / 0.5649 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4193, allocations: 4.188 kB / 0.5649 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.4193, allocations: 0 / 0.5649 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4193, allocations: 3.984 kB / 0.5649 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4206, allocations: 0.683 MB / 0.5655 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4206, allocations: 4 kB / 0.5655 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.4209, allocations: 63.95 kB / 0.5656 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4209, allocations: 7.938 kB / 0.5656 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.4209, allocations: 8 kB / 0.5656 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4209, allocations: 0 / 0.5656 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4209, allocations: 0 / 0.5656 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.4217, allocations: 0.5137 MB / 0.5661 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.4218, allocations: 51.78 kB / 0.5662 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4218, allocations: 4 kB / 0.5662 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.422, allocations: 11.98 kB / 0.5662 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.4221, allocations: 23.77 kB / 0.5662 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.4221, allocations: 16 kB / 0.5662 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4224, allocations: 223 kB / 0.5664 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4224, allocations: 0 / 0.5664 GB, free: 10.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.4229, allocations: 100 kB / 0.5665 GB, free: 10.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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.0001603/0.4231, allocations: 103.1 kB / 0.5666 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000991/0.424, allocations: 0.5682 MB / 0.5672 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.424, allocations: 0 / 0.5672 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.4242, allocations: 118.1 kB / 0.5673 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.4247, allocations: 70.12 kB / 0.5674 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4265, allocations: 1.005 MB / 0.5684 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4268, allocations: 273.7 kB / 0.5686 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.4271, allocations: 107.2 kB / 0.5687 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.4272, allocations: 31.42 kB / 0.5687 GB, free: 8.289 MB / 414.1 MB Notification: Performance of SimCode: time 5.2e-07/0.4272, allocations: 0 / 0.5687 GB, free: 8.289 MB / 414.1 MB Notification: Performance of Templates: time 0.01091/0.4381, allocations: 4.416 MB / 0.5731 GB, free: 3.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.421030890196562] Failed to read output from testmodel.py, exit status != 0: 0.4486368205398321 0.46455216400000005 0.062648366 Calling exit ...