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.001301/0.001301, 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.001431/0.001431, 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1901/0.1901, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.002735/0.002735, allocations: 67.89 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3209, allocations: 62.46 MB / 0.5428 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006233/0.3271, allocations: 4.358 MB / 0.547 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3293, allocations: 1 MB / 0.548 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.3296, allocations: 19.31 kB / 0.548 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.3298, allocations: 48.66 kB / 0.5481 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.3305, allocations: 212.6 kB / 0.5483 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3308, allocations: 100.1 kB / 0.5484 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.3315, allocations: 486.5 kB / 0.5488 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3318, allocations: 87.72 kB / 0.5489 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.3322, allocations: 223.5 kB / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.3326, allocations: 264.2 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.3327, allocations: 27.56 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.3328, allocations: 29.09 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3329, allocations: 127.2 kB / 0.5496 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.3331, allocations: 177.5 kB / 0.5497 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.3337, allocations: 388.2 kB / 0.5501 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3337, allocations: 0 / 0.5501 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3337, allocations: 0 / 0.5501 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3337, allocations: 0 / 0.5501 GB, free: 10.85 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.001514/0.3352, allocations: 0.6274 MB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3352, allocations: 13.86 kB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.763e-05/0.3353, allocations: 6.844 kB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.497e-05/0.3354, allocations: 65.25 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.3356, allocations: 58.58 kB / 0.5508 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.3363, allocations: 343.1 kB / 0.5512 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.3363, allocations: 19.31 kB / 0.5512 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.3364, allocations: 24.53 kB / 0.5512 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.337, allocations: 360.2 kB / 0.5516 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.337, allocations: 0 / 0.5516 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.3371, allocations: 19.08 kB / 0.5516 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3371, allocations: 10.66 kB / 0.5516 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.3375, allocations: 254.2 kB / 0.5518 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3395, allocations: 1.405 MB / 0.5532 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3397, allocations: 142.4 kB / 0.5533 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3399, allocations: 73.98 kB / 0.5534 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3399, allocations: 9.422 kB / 0.5534 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.34, allocations: 36 kB / 0.5535 GB, free: 8.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.34, allocations: 5.312 kB / 0.5535 GB, free: 8.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001273/0.3412, allocations: 0.6061 MB / 0.554 GB, free: 7.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3413, allocations: 79.58 kB / 0.5541 GB, free: 7.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3417, allocations: 298.1 kB / 0.5544 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3417, allocations: 25.7 kB / 0.5544 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.3419, allocations: 228.6 kB / 0.5546 GB, free: 7.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.342, allocations: 58.89 kB / 0.5547 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.342, allocations: 51.62 kB / 0.5548 GB, free: 7.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3422, allocations: 346.2 kB / 0.5551 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3423, allocations: 62.95 kB / 0.5551 GB, free: 6.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3425, allocations: 170.2 kB / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3429, allocations: 260.2 kB / 0.5556 GB, free: 6.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3429, allocations: 1.406 kB / 0.5556 GB, free: 6.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004682/0.3433, allocations: 284.8 kB / 0.5558 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3434, allocations: 14.02 kB / 0.5558 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3434, allocations: 4.438 kB / 0.5558 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3434, allocations: 4.562 kB / 0.5559 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3437, allocations: 58.94 kB / 0.5559 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3437, allocations: 8.875 kB / 0.5559 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.3439, allocations: 15.89 kB / 0.5559 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3439, allocations: 8.969 kB / 0.5559 GB, free: 6.145 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.0002311/0.3441, allocations: 166.9 kB / 0.5561 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.3442, allocations: 36.62 kB / 0.5561 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3446, allocations: 231.9 kB / 0.5564 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3446, allocations: 3.344 kB / 0.5564 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3446, allocations: 3.938 kB / 0.5564 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3446, allocations: 0.875 kB / 0.5564 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.3454, allocations: 0.6013 MB / 0.5569 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3454, allocations: 5 kB / 0.557 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3457, allocations: 36.92 kB / 0.557 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3457, allocations: 6.281 kB / 0.557 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3457, allocations: 5.469 kB / 0.557 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3457, allocations: 5.141 kB / 0.557 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3457, allocations: 1.094 kB / 0.557 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.3462, allocations: 430.8 kB / 0.5574 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3463, allocations: 27.84 kB / 0.5574 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3464, allocations: 8.062 kB / 0.5575 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3465, allocations: 7.984 kB / 0.5575 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3466, allocations: 19.91 kB / 0.5575 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3466, allocations: 8 kB / 0.5575 GB, free: 4.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.3468, allocations: 207.1 kB / 0.5577 GB, free: 4.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3468, allocations: 4 kB / 0.5577 GB, free: 4.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.3472, allocations: 56 kB / 0.5577 GB, free: 4.684 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.0009801/0.3482, allocations: 0.9549 MB / 0.5587 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3485, allocations: 180.6 kB / 0.5588 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3485, allocations: 4 kB / 0.5588 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3487, allocations: 87.86 kB / 0.5589 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3492, allocations: 68.44 kB / 0.559 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.3529, allocations: 2.91 MB / 0.5618 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.3533, allocations: 0.8026 MB / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3535, allocations: 58.88 kB / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.3537, allocations: 107.4 kB / 0.5628 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3537, allocations: 4 kB / 0.5628 GB, free: 15.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3835, allocations: 6.343 MB / 0.569 GB, free: 9.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 7.625 kB / 0.569 GB, free: 9.094 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: 14.898654465039726] Failed to read output from testmodel.py, exit status != 0: 12.149661044008099 12.167033109 11.829633022 Calling exit ...