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.0009354/0.0009354, 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.001116/0.001116, 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.9365/0.9365, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2342/0.2342, allocations: 29.4 MB / 290.1 MB, free: 2.438 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.242e-06/1.242e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.582e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00425/0.004275, allocations: 4.113 MB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005885, allocations: 0.9196 MB / 435.3 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.006085, allocations: 15.88 kB / 435.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.006274, allocations: 63.42 kB / 435.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.00685, allocations: 210.7 kB / 435.5 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.007071, allocations: 103.7 kB / 435.6 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.007522, allocations: 0.4903 MB / 436.1 MB, free: 7.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.007707, allocations: 91.97 kB / 436.2 MB, free: 7.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.008119, allocations: 295.1 kB / 436.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.00842, allocations: 231.4 kB / 436.7 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.008462, allocations: 28 kB / 436.8 MB, free: 7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.008538, allocations: 32 kB / 436.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.008641, allocations: 131.6 kB / 436.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.008747, allocations: 131.6 kB / 437 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.009118, allocations: 386.7 kB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009121, allocations: 0 / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009122, allocations: 0 / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.009129, allocations: 0 / 437.4 MB, free: 6.332 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.0009245/0.01005, allocations: 0.6346 MB / 438.1 MB, free: 5.668 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.01009, allocations: 11.98 kB / 438.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.01014, allocations: 58.73 kB / 438.1 MB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.01026, allocations: 48.69 kB / 438.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.0107, allocations: 335.7 kB / 438.5 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.01072, allocations: 28.58 kB / 438.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.01075, allocations: 28 kB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.01113, allocations: 361.8 kB / 438.9 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01114, allocations: 0 / 438.9 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.01116, allocations: 12 kB / 438.9 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01117, allocations: 4 kB / 438.9 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.01145, allocations: 257.7 kB / 439.2 MB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01264, allocations: 1.346 MB / 440.5 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.01284, allocations: 145 kB / 440.7 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.01292, allocations: 73.73 kB / 440.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.01294, allocations: 4 kB / 440.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.01296, allocations: 34.56 kB / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.01296, allocations: 0 / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008361/0.0138, allocations: 0.6167 MB / 441.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.01384, allocations: 81.11 kB / 441.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.01406, allocations: 308.4 kB / 441.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.01408, allocations: 29.7 kB / 441.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.01417, allocations: 216 kB / 442 MB, free: 1.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.01421, allocations: 63.5 kB / 442.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.01427, allocations: 49.66 kB / 442.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.0146, allocations: 338.8 kB / 442.5 MB, free: 1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.01469, allocations: 67.95 kB / 442.5 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.0148, allocations: 168.8 kB / 442.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.01502, allocations: 256.7 kB / 442.9 MB, free: 436 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01502, allocations: 7.938 kB / 442.9 MB, free: 428 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000277/0.0153, allocations: 289 kB / 443.2 MB, free: 132 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01531, allocations: 7.406 kB / 443.2 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01532, allocations: 11.94 kB / 443.2 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01533, allocations: 7.984 kB / 443.3 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01548, allocations: 55.91 kB / 443.3 MB, free: 52 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01549, allocations: 11.94 kB / 443.3 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.01558, allocations: 11.98 kB / 443.3 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.0156, allocations: 19.94 kB / 443.3 MB, free: 8 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.1656/0.1812, allocations: 160.3 kB / 443.5 MB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.1813, allocations: 26.08 kB / 443.5 MB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1816, allocations: 237.2 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1816, allocations: 8.75 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1816, allocations: 0 / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1816, allocations: 6.578 kB / 443.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1821, allocations: 0.5613 MB / 444.3 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1821, allocations: 7.156 kB / 444.3 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1823, allocations: 33.28 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1823, allocations: 3.062 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1823, allocations: 10.53 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1823, allocations: 2.625 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1823, allocations: 3.156 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1826, allocations: 423.3 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.1827, allocations: 28.2 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1827, allocations: 6.938 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.1828, allocations: 6.578 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1828, allocations: 17.45 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1828, allocations: 7.094 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1829, allocations: 206.7 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 3.188 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.1832, allocations: 61.25 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.0004153/0.1836, allocations: 0.9599 MB / 446.1 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1838, allocations: 183.5 kB / 446.3 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1838, allocations: 0 / 446.3 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1839, allocations: 83.72 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.0003487/0.1842, allocations: 78.42 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.001884/0.1861, allocations: 2.854 MB / 449.3 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.1862, allocations: 200.6 kB / 449.5 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1864, allocations: 62.42 kB / 449.5 MB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1865, allocations: 106.6 kB / 449.7 MB, free: 50.69 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1865, allocations: 0 / 449.7 MB, free: 50.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.2086, allocations: 6.936 MB / 456.6 MB, free: 49.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.139, allocations: 7.953 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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: 9.205551768653095] Failed to read output from testmodel.py, exit status != 0: 7.221859645098448 7.229519833 7.218971864 Calling exit ...