Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001732/0.001732, 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.002418/0.002418, allocations: 206.1 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.524/1.524, 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.2126/0.2126, allocations: 38.53 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.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.002231/0.002231, allocations: 67.03 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3435, allocations: 62.46 MB / 0.5428 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005791/0.3493, allocations: 4.1 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3526, allocations: 1.881 MB / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.3528, allocations: 13.16 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.3541, allocations: 373.2 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3552, allocations: 412.7 kB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.3556, allocations: 136.8 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.3564, allocations: 493 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.3568, allocations: 174.8 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.3572, allocations: 227.3 kB / 0.5504 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.3576, allocations: 252.5 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3577, allocations: 21.09 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.3585, allocations: 462.9 kB / 0.5511 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.3587, allocations: 152.1 kB / 0.5512 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3589, allocations: 157.5 kB / 0.5514 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007655/0.3597, allocations: 0.5011 MB / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3597, allocations: 0 / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3597, allocations: 1.062 kB / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3597, allocations: 0 / 0.5518 GB, free: 9.613 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009931/0.3607, allocations: 0.5282 MB / 0.5524 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.3607, allocations: 14.3 kB / 0.5524 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.46e-05/0.3608, allocations: 7.188 kB / 0.5524 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.464e-05/0.3609, allocations: 61.77 kB / 0.5524 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3622, allocations: 132.8 kB / 0.5526 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.3626, allocations: 249.8 kB / 0.5528 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3626, allocations: 19 kB / 0.5528 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.3627, allocations: 21.38 kB / 0.5528 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.3635, allocations: 446.6 kB / 0.5533 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3635, allocations: 0 / 0.5533 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.3635, allocations: 11.09 kB / 0.5533 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.3636, allocations: 22.95 kB / 0.5533 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.3643, allocations: 434.6 kB / 0.5537 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.3667, allocations: 1.647 MB / 0.5553 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.3671, allocations: 189.9 kB / 0.5555 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3673, allocations: 127.4 kB / 0.5556 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3674, allocations: 6.172 kB / 0.5556 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3674, allocations: 37.19 kB / 0.5557 GB, free: 6.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.3674, allocations: 0 / 0.5557 GB, free: 6.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001958/0.3694, allocations: 0.7196 MB / 0.5564 GB, free: 6.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3694, allocations: 80.42 kB / 0.5564 GB, free: 6.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3697, allocations: 210.2 kB / 0.5566 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3697, allocations: 30.77 kB / 0.5567 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3698, allocations: 191.6 kB / 0.5569 GB, free: 5.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.3699, allocations: 82.23 kB / 0.5569 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.37, allocations: 59.95 kB / 0.557 GB, free: 5.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3702, allocations: 338.8 kB / 0.5573 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3704, allocations: 108.5 kB / 0.5574 GB, free: 5.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.3706, allocations: 209 kB / 0.5576 GB, free: 4.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.3711, allocations: 343 kB / 0.5579 GB, free: 4.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3711, allocations: 0 / 0.5579 GB, free: 4.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008021/0.3719, allocations: 429.8 kB / 0.5584 GB, free: 4.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3719, allocations: 8 kB / 0.5584 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.3719, allocations: 8.391 kB / 0.5584 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.3723, allocations: 92.73 kB / 0.5585 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3726, allocations: 51.91 kB / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3748, allocations: 1.89 MB / 0.5604 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.375, allocations: 20.02 kB / 0.5604 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3751, allocations: 20.06 kB / 0.5604 GB, free: 1.969 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.3753, allocations: 177.7 kB / 0.5606 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.3754, allocations: 19.86 kB / 0.5606 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.3762, allocations: 384 kB / 0.5609 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3762, allocations: 8 kB / 0.561 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3762, allocations: 0 / 0.561 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3762, allocations: 4 kB / 0.561 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.3778, allocations: 0.8858 MB / 0.5618 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3778, allocations: 0 / 0.5618 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.378, allocations: 35.97 kB / 0.5619 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.3782, allocations: 64.8 kB / 0.5619 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3783, allocations: 8 kB / 0.5619 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.3804, allocations: 1.804 MB / 0.5637 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.3804, allocations: 12.08 kB / 0.5637 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.3812, allocations: 467.4 kB / 0.5641 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.3813, allocations: 19.86 kB / 0.5642 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3813, allocations: 4 kB / 0.5642 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3814, allocations: 15.98 kB / 0.5642 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3815, allocations: 19.77 kB / 0.5642 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3815, allocations: 15.98 kB / 0.5642 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3817, allocations: 147.2 kB / 0.5644 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 0 / 0.5644 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000572/0.3823, allocations: 84 kB / 0.5644 GB, free: 13.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.3834, allocations: 0.9888 MB / 0.5654 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008183/0.3842, allocations: 419.8 kB / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3842, allocations: 0 / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3847, allocations: 268.6 kB / 0.5661 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3851, allocations: 39.92 kB / 0.5661 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.3894, allocations: 3.019 MB / 0.569 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.39, allocations: 0.8023 MB / 0.5698 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3901, allocations: 49.91 kB / 0.5699 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3903, allocations: 87.41 kB / 0.57 GB, free: 7.652 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3903, allocations: 0 / 0.57 GB, free: 7.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.4207, allocations: 6.087 MB / 0.5759 GB, free: 1.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.33, allocations: 15.52 kB / 0.5759 GB, free: 1.691 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.276206120965071] Failed to read output from testmodel.py, exit status != 0: 12.504045034002047 12.53262612 12.166960985 Calling exit ...