Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001738/0.001738, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002533/0.002533, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.579/1.579, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1885/0.1885, allocations: 38.51 MB / 353.2 MB, free: 12.57 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) [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.001986/0.001986, allocations: 74.86 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 62.46 MB / 0.5428 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006116/0.3486, allocations: 4.499 MB / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3505, allocations: 0.9781 MB / 0.5481 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.3507, allocations: 18.69 kB / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.3509, allocations: 58.14 kB / 0.5482 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.3516, allocations: 240.3 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3519, allocations: 107.4 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.3526, allocations: 0.4953 MB / 0.549 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.3528, allocations: 95.23 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.3533, allocations: 237.4 kB / 0.5493 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.3538, allocations: 288.6 kB / 0.5496 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.3539, allocations: 26.72 kB / 0.5496 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.3539, allocations: 24.22 kB / 0.5496 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3541, allocations: 147.3 kB / 0.5498 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3543, allocations: 180.6 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.3548, allocations: 365 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3548, allocations: 0.9375 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3548, allocations: 0 / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3548, allocations: 3.938 kB / 0.5503 GB, free: 10.75 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001249/0.3561, allocations: 0.5953 MB / 0.5509 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3561, allocations: 17.59 kB / 0.5509 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/0.3561, allocations: 6.25 kB / 0.5509 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.3562, allocations: 60.95 kB / 0.551 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.3563, allocations: 38.23 kB / 0.551 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.3569, allocations: 322.2 kB / 0.5513 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3569, allocations: 19.5 kB / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.357, allocations: 24.81 kB / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.3575, allocations: 362 kB / 0.5517 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3576, allocations: 0 / 0.5517 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3576, allocations: 10.59 kB / 0.5517 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3577, allocations: 26.12 kB / 0.5517 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.3581, allocations: 246.5 kB / 0.552 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.3599, allocations: 1.325 MB / 0.5533 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.3603, allocations: 169.1 kB / 0.5534 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3605, allocations: 93.55 kB / 0.5535 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3605, allocations: 2.188 kB / 0.5535 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3605, allocations: 31.69 kB / 0.5536 GB, free: 8.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3605, allocations: 0 / 0.5536 GB, free: 8.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001361/0.3619, allocations: 0.6253 MB / 0.5542 GB, free: 7.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3619, allocations: 83.02 kB / 0.5542 GB, free: 7.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3622, allocations: 299.6 kB / 0.5545 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3623, allocations: 26.8 kB / 0.5546 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3624, allocations: 216.7 kB / 0.5548 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.3625, allocations: 62.97 kB / 0.5548 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.3626, allocations: 51.59 kB / 0.5549 GB, free: 7.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3627, allocations: 342.7 kB / 0.5552 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3629, allocations: 67.14 kB / 0.5553 GB, free: 6.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3631, allocations: 168.1 kB / 0.5554 GB, free: 6.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.3634, allocations: 254 kB / 0.5557 GB, free: 6.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3634, allocations: 5.031 kB / 0.5557 GB, free: 6.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005324/0.3639, allocations: 323 kB / 0.556 GB, free: 6.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.364, allocations: 9.891 kB / 0.556 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.364, allocations: 3.719 kB / 0.556 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.3642, allocations: 54.23 kB / 0.556 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3644, allocations: 53.06 kB / 0.5561 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.3661, allocations: 1.499 MB / 0.5576 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3663, allocations: 13.48 kB / 0.5576 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3663, allocations: 12.81 kB / 0.5576 GB, free: 4.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000281/0.3666, allocations: 166.7 kB / 0.5577 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.3667, allocations: 32.97 kB / 0.5578 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.3672, allocations: 242 kB / 0.558 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3672, allocations: 2.219 kB / 0.558 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3672, allocations: 1.031 kB / 0.558 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3672, allocations: 1.062 kB / 0.558 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.3681, allocations: 0.6129 MB / 0.5586 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3681, allocations: 0 / 0.5586 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.3682, allocations: 28.02 kB / 0.5586 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.3684, allocations: 56.8 kB / 0.5587 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3684, allocations: 7.984 kB / 0.5587 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.3698, allocations: 1.502 MB / 0.5602 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3698, allocations: 0 / 0.5602 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.3704, allocations: 412.5 kB / 0.5606 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.3705, allocations: 27.84 kB / 0.5606 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3705, allocations: 15.98 kB / 0.5606 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3706, allocations: 3.938 kB / 0.5606 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3707, allocations: 15.97 kB / 0.5606 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3707, allocations: 7.938 kB / 0.5606 GB, free: 1.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.3709, allocations: 215.1 kB / 0.5608 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3709, allocations: 0 / 0.5608 GB, free: 1.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.3714, allocations: 68 kB / 0.5609 GB, free: 1.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009052/0.3723, allocations: 0.9372 MB / 0.5618 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006197/0.3729, allocations: 302.3 kB / 0.5621 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3729, allocations: 0.9375 kB / 0.5621 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3733, allocations: 210.6 kB / 0.5623 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.3738, allocations: 68.28 kB / 0.5624 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3777, allocations: 3.052 MB / 0.5653 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3782, allocations: 0.8104 MB / 0.5661 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.3784, allocations: 38.97 kB / 0.5662 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3785, allocations: 99.39 kB / 0.5663 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3785, allocations: 0 / 0.5663 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.4123, allocations: 6.349 MB / 0.5725 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.26, allocations: 5.734 kB / 0.5725 GB, free: 5.258 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.257398645975627] Failed to read output from testmodel.py, exit status != 0: 12.427088922006078 12.443985706 12.085543163 Calling exit ...