Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.0008159/0.0008159, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008649/0.0008649, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.851/0.851, allocations: 177.2 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2278/0.2278, allocations: 29.4 MB / 290.1 MB, free: 2.441 MB / 266.7 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.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.201e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.003828/0.00385, allocations: 4.117 MB / 434.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004967, allocations: 0.9235 MB / 435.3 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.005143, allocations: 15.88 kB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.005316, allocations: 55.48 kB / 435.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.005791, allocations: 218.7 kB / 435.5 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.005981, allocations: 103.7 kB / 435.6 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.006371, allocations: 494.1 kB / 436.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.006545, allocations: 91.98 kB / 436.2 MB, free: 7.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.006874, allocations: 299 kB / 436.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.007401, allocations: 227.4 kB / 436.7 MB, free: 7.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.007443, allocations: 28 kB / 436.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.007511, allocations: 35.98 kB / 436.8 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.007603, allocations: 135.5 kB / 436.9 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.007695, allocations: 119.7 kB / 437 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.008006, allocations: 390.7 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008009, allocations: 0 / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00801, allocations: 4 kB / 437.4 MB, free: 6.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.008015, allocations: 4 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008135/0.008828, allocations: 0.6229 MB / 438 MB, free: 5.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.008865, allocations: 15.98 kB / 438.1 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.008918, allocations: 62.72 kB / 438.1 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.009035, allocations: 52.69 kB / 438.2 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.00949, allocations: 335.6 kB / 438.5 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.009509, allocations: 20.59 kB / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.009547, allocations: 24 kB / 438.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.009909, allocations: 361.8 kB / 438.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.00992, allocations: 4 kB / 438.9 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.009939, allocations: 11.98 kB / 438.9 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.009947, allocations: 8 kB / 438.9 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.01021, allocations: 253.7 kB / 439.2 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.0113, allocations: 1.35 MB / 440.5 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.01149, allocations: 147.5 kB / 440.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.01156, allocations: 73.73 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01158, allocations: 4 kB / 440.7 MB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.0116, allocations: 38.56 kB / 440.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.0116, allocations: 7.938 kB / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007761/0.01238, allocations: 0.605 MB / 441.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.01242, allocations: 85.09 kB / 441.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.01261, allocations: 300.5 kB / 441.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01262, allocations: 29.7 kB / 441.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.01272, allocations: 224 kB / 442 MB, free: 1.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.01275, allocations: 51.53 kB / 442.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01281, allocations: 57.64 kB / 442.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.01289, allocations: 338.9 kB / 442.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.01296, allocations: 71.95 kB / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01307, allocations: 168.8 kB / 442.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.01327, allocations: 252.6 kB / 442.9 MB, free: 444 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01327, allocations: 0 / 442.9 MB, free: 444 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002526/0.01352, allocations: 293.3 kB / 443.2 MB, free: 144 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01354, allocations: 8 kB / 443.2 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01354, allocations: 7.938 kB / 443.2 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01356, allocations: 4 kB / 443.2 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.0137, allocations: 59.89 kB / 443.3 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01371, allocations: 7.938 kB / 443.3 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.01379, allocations: 15.94 kB / 443.3 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.0138, allocations: 15.92 kB / 443.3 MB, free: 24 kB / 410.7 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.152/0.1658, allocations: 163 kB / 443.5 MB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.1659, allocations: 29.58 kB / 443.5 MB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.1662, allocations: 242.8 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1662, allocations: 3.25 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1662, allocations: 0 / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1662, allocations: 3.344 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.1668, allocations: 0.5708 MB / 444.3 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1668, allocations: 3.062 kB / 444.3 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1669, allocations: 45.73 kB / 444.4 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1669, allocations: 0 / 444.4 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1669, allocations: 6.719 kB / 444.4 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1669, allocations: 0 / 444.4 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1669, allocations: 3 kB / 444.4 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.1673, allocations: 427.3 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1673, allocations: 28.92 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1673, allocations: 8.344 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.1674, allocations: 6.312 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.1674, allocations: 13.83 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1674, allocations: 6.219 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1675, allocations: 213.3 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1675, allocations: 1.156 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00024/0.1678, allocations: 62.16 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0004192/0.1682, allocations: 0.9496 MB / 446.1 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1684, allocations: 188.8 kB / 446.3 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1684, allocations: 0 / 446.3 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1685, allocations: 88.22 kB / 446.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1689, allocations: 68.09 kB / 446.4 MB, free: 52.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1707, allocations: 2.858 MB / 449.3 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1708, allocations: 199.4 kB / 449.5 MB, free: 50.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1709, allocations: 54.06 kB / 449.5 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.171, allocations: 109.8 kB / 449.6 MB, free: 50.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.171, allocations: 1.5 kB / 449.6 MB, free: 50.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1888, allocations: 6.945 MB / 456.6 MB, free: 49.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.794, allocations: 12.77 kB / 456.6 MB, free: 49.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.591294725425541] Failed to read output from testmodel.py, exit status != 0: 6.87543058115989 6.881043879 6.871719148 Calling exit ...