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.00139/0.00139, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001669/0.001669, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.1857/0.1857, allocations: 38.55 MB / 353.2 MB, free: 12.29 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.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001997/0.001997, allocations: 67.89 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 62.47 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006451/0.3618, allocations: 4.117 MB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3637, allocations: 0.9229 MB / 0.5476 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3639, allocations: 19.94 kB / 0.5476 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3641, allocations: 56.67 kB / 0.5477 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.3647, allocations: 199.9 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3649, allocations: 101.1 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.3656, allocations: 485.8 kB / 0.5485 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3658, allocations: 98.69 kB / 0.5485 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.3662, allocations: 220.4 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.3666, allocations: 255.5 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.3667, allocations: 31.69 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3668, allocations: 33.53 kB / 0.5491 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.367, allocations: 119.9 kB / 0.5492 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.3672, allocations: 152.4 kB / 0.5493 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.3678, allocations: 388.8 kB / 0.5497 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3678, allocations: 0 / 0.5497 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3678, allocations: 3.938 kB / 0.5497 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3678, allocations: 0 / 0.5497 GB, free: 11.01 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001485/0.3693, allocations: 0.6299 MB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3693, allocations: 13.48 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.3693, allocations: 7.594 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.3694, allocations: 71.34 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3696, allocations: 54.95 kB / 0.5505 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.3702, allocations: 335.5 kB / 0.5508 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3702, allocations: 19.62 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.3703, allocations: 24.62 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.3709, allocations: 362.3 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3709, allocations: 3.984 kB / 0.5512 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3709, allocations: 19.64 kB / 0.5512 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3709, allocations: 6.375 kB / 0.5512 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.3714, allocations: 254 kB / 0.5514 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3733, allocations: 1.345 MB / 0.5527 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3735, allocations: 155.7 kB / 0.5529 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3737, allocations: 74.39 kB / 0.553 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3737, allocations: 5.281 kB / 0.553 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3738, allocations: 37.34 kB / 0.553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.3738, allocations: 0 / 0.553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001218/0.375, allocations: 0.6035 MB / 0.5536 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.375, allocations: 83.62 kB / 0.5537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.3754, allocations: 297.5 kB / 0.554 GB, free: 7.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3754, allocations: 30.86 kB / 0.554 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3756, allocations: 224.1 kB / 0.5542 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.3756, allocations: 63.44 kB / 0.5543 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3757, allocations: 48.23 kB / 0.5543 GB, free: 7.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3759, allocations: 337.8 kB / 0.5546 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.376, allocations: 62.61 kB / 0.5547 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3762, allocations: 174 kB / 0.5549 GB, free: 6.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3766, allocations: 257.2 kB / 0.5551 GB, free: 6.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3766, allocations: 5.141 kB / 0.5551 GB, free: 6.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004578/0.377, allocations: 288.9 kB / 0.5554 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.377, allocations: 6.594 kB / 0.5554 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3771, allocations: 7.891 kB / 0.5554 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3771, allocations: 4.75 kB / 0.5554 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.3774, allocations: 63.66 kB / 0.5555 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3774, allocations: 12.88 kB / 0.5555 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3775, allocations: 14.64 kB / 0.5555 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3776, allocations: 9.844 kB / 0.5555 GB, free: 6.363 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 (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.0001928/0.3778, allocations: 163.3 kB / 0.5557 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.3778, allocations: 36.28 kB / 0.5557 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.3783, allocations: 235.2 kB / 0.5559 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3783, allocations: 2.188 kB / 0.5559 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3783, allocations: 1.188 kB / 0.5559 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3783, allocations: 0 / 0.5559 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.3791, allocations: 0.5868 MB / 0.5565 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3791, allocations: 1.406 kB / 0.5565 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3793, allocations: 36.8 kB / 0.5565 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3793, allocations: 0.9688 kB / 0.5565 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3794, allocations: 10.3 kB / 0.5565 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3794, allocations: 1.031 kB / 0.5565 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3794, allocations: 1.594 kB / 0.5565 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.38, allocations: 429.8 kB / 0.5569 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.3801, allocations: 27.84 kB / 0.557 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.3801, allocations: 4 kB / 0.557 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3803, allocations: 16.08 kB / 0.557 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3803, allocations: 15.91 kB / 0.557 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3804, allocations: 8 kB / 0.557 GB, free: 5.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.3806, allocations: 207.1 kB / 0.5572 GB, free: 4.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3806, allocations: 0 / 0.5572 GB, free: 4.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.381, allocations: 64 kB / 0.5573 GB, free: 4.832 MB / 398.1 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.0009699/0.382, allocations: 0.958 MB / 0.5582 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3824, allocations: 184.2 kB / 0.5584 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3824, allocations: 0 / 0.5584 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3826, allocations: 83.89 kB / 0.5585 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.3832, allocations: 80.08 kB / 0.5585 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.3871, allocations: 2.909 MB / 0.5614 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3873, allocations: 203.5 kB / 0.5616 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.3875, allocations: 54.92 kB / 0.5616 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3877, allocations: 107.3 kB / 0.5617 GB, free: 48 kB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3877, allocations: 0 / 0.5617 GB, free: 48 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.4181, allocations: 6.492 MB / 0.5681 GB, free: 9.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.28, allocations: 7.922 kB / 0.5681 GB, free: 9.734 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.215096380910836] Failed to read output from testmodel.py, exit status != 0: 12.452240526909009 12.472658799 12.101186325 Calling exit ...