Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001449/0.001449, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002285/0.002285, allocations: 216.9 kB / 23.73 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1853/0.1853, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",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.002329/0.002329, allocations: 71.84 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4326, allocations: 62.46 MB / 0.5419 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006531/0.4391, allocations: 4.026 MB / 0.5459 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4408, allocations: 0.8292 MB / 0.5467 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.441, allocations: 19.25 kB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.4412, allocations: 39.45 kB / 0.5467 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.4417, allocations: 171.3 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.4419, allocations: 85.5 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.4424, allocations: 397.7 kB / 0.5474 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.4426, allocations: 75.48 kB / 0.5474 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.443, allocations: 190.7 kB / 0.5476 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.4433, allocations: 181.9 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.4434, allocations: 21.34 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.4434, allocations: 19.78 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.4436, allocations: 89.38 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.4437, allocations: 110.8 kB / 0.548 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.4441, allocations: 298.5 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4441, allocations: 1.125 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4441, allocations: 0 / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4442, allocations: 0 / 0.5483 GB, free: 11.46 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001181/0.4453, allocations: 0.527 MB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4454, allocations: 15.92 kB / 0.5488 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.4455, allocations: 62.06 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.4455, allocations: 32.56 kB / 0.5489 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.4461, allocations: 279.6 kB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4462, allocations: 17.81 kB / 0.5492 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.4463, allocations: 38.44 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.4468, allocations: 297.5 kB / 0.5495 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4468, allocations: 0 / 0.5495 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.4469, allocations: 10.48 kB / 0.5495 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.4469, allocations: 6.25 kB / 0.5495 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.4472, allocations: 186.7 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.4489, allocations: 1.189 MB / 0.5509 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.4492, allocations: 115.9 kB / 0.551 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.4493, allocations: 43.78 kB / 0.551 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.4493, allocations: 2.875 kB / 0.551 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4494, allocations: 35.95 kB / 0.5511 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4494, allocations: 1.906 kB / 0.5511 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009458/0.4503, allocations: 468 kB / 0.5515 GB, free: 8.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.4504, allocations: 105.4 kB / 0.5516 GB, free: 8.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4507, allocations: 252.8 kB / 0.5519 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4507, allocations: 25.7 kB / 0.5519 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4508, allocations: 209 kB / 0.5521 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4509, allocations: 41.12 kB / 0.5521 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.451, allocations: 44.41 kB / 0.5522 GB, free: 8.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4512, allocations: 336.2 kB / 0.5525 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.4512, allocations: 40.95 kB / 0.5525 GB, free: 7.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4514, allocations: 135 kB / 0.5527 GB, free: 7.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.4517, allocations: 188.3 kB / 0.5528 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4517, allocations: 5.031 kB / 0.5528 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004464/0.4521, allocations: 227.3 kB / 0.5531 GB, free: 7.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4521, allocations: 5.656 kB / 0.5531 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4521, allocations: 3.5 kB / 0.5531 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.4523, allocations: 35.5 kB / 0.5531 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.4526, allocations: 63.39 kB / 0.5532 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4526, allocations: 4.344 kB / 0.5532 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4527, allocations: 8.406 kB / 0.5532 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4527, allocations: 16.67 kB / 0.5532 GB, free: 7.246 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.4529, allocations: 150.5 kB / 0.5533 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.453, allocations: 22.33 kB / 0.5534 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4533, allocations: 149.5 kB / 0.5535 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4533, allocations: 5.562 kB / 0.5535 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4533, allocations: 5.062 kB / 0.5535 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4534, allocations: 1.25 kB / 0.5535 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.4538, allocations: 242.6 kB / 0.5537 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4538, allocations: 5.062 kB / 0.5537 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.4539, allocations: 25.86 kB / 0.5538 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4539, allocations: 1.281 kB / 0.5538 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.454, allocations: 6.25 kB / 0.5538 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.454, allocations: 4.844 kB / 0.5538 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.454, allocations: 4.984 kB / 0.5538 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.4545, allocations: 368.9 kB / 0.5541 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.4545, allocations: 23.02 kB / 0.5542 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4545, allocations: 6.219 kB / 0.5542 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.4547, allocations: 9.188 kB / 0.5542 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.4547, allocations: 7.547 kB / 0.5542 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.4547, allocations: 7.453 kB / 0.5542 GB, free: 6.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4549, allocations: 168.8 kB / 0.5544 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4549, allocations: 1.156 kB / 0.5544 GB, free: 6.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.4553, allocations: 44.62 kB / 0.5544 GB, free: 6.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0008252/0.4561, allocations: 0.8969 MB / 0.5553 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.4565, allocations: 130.7 kB / 0.5554 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4565, allocations: 0 / 0.5554 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.4566, allocations: 47.33 kB / 0.5554 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.4572, allocations: 57.23 kB / 0.5555 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.4607, allocations: 2.631 MB / 0.5581 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.4609, allocations: 162.8 kB / 0.5582 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.461, allocations: 34.27 kB / 0.5583 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4612, allocations: 91.41 kB / 0.5583 GB, free: 2.781 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4612, allocations: 4 kB / 0.5583 GB, free: 2.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.5, allocations: 5.541 MB / 0.5638 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.15, allocations: 4 kB / 0.5638 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.013165285810828] Failed to read output from testmodel.py, exit status != 0: 12.25721233105287 12.273146906 11.825730602 Calling exit ...