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.001695/0.001695, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002138/0.002138, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1861/0.1861, allocations: 38.51 MB / 348.7 MB, free: 2.676 MB / 270.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="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: 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.002006/0.002006, allocations: 63.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 62.41 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006595/0.1348, allocations: 4.257 MB / 0.5408 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.137, allocations: 0.9782 MB / 0.5418 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.1372, allocations: 15.88 kB / 0.5418 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1375, allocations: 55.44 kB / 0.5419 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000774/0.1383, allocations: 210.9 kB / 0.5421 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1386, allocations: 95.86 kB / 0.5421 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.1392, allocations: 486.3 kB / 0.5426 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.1395, allocations: 115.6 kB / 0.5427 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.1398, allocations: 223.1 kB / 0.5429 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1402, allocations: 251.1 kB / 0.5432 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.1403, allocations: 32 kB / 0.5432 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.1404, allocations: 32 kB / 0.5432 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1405, allocations: 131.5 kB / 0.5434 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1407, allocations: 175.1 kB / 0.5435 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.1413, allocations: 382.4 kB / 0.5439 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1413, allocations: 4 kB / 0.5439 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1413, allocations: 0 / 0.5439 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1413, allocations: 0 / 0.5439 GB, free: 136 kB / 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.001559/0.1428, allocations: 0.7097 MB / 0.5446 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1429, allocations: 8.031 kB / 0.5446 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.592e-05/0.143, allocations: 66.72 kB / 0.5447 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1432, allocations: 44.66 kB / 0.5447 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.1439, allocations: 407.2 kB / 0.5451 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1439, allocations: 16.56 kB / 0.5451 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.144, allocations: 35.98 kB / 0.5451 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.1445, allocations: 360.7 kB / 0.5455 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1445, allocations: 0 / 0.5455 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.1446, allocations: 12 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1446, allocations: 8 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.145, allocations: 258 kB / 0.5457 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1469, allocations: 1.45 MB / 0.5472 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1472, allocations: 148.7 kB / 0.5473 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1473, allocations: 77.73 kB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1474, allocations: 3.984 kB / 0.5474 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1474, allocations: 38.5 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.1474, allocations: 0 / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001291/0.1487, allocations: 0.6886 MB / 0.5481 GB, free: 11.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.1487, allocations: 77.11 kB / 0.5482 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1491, allocations: 300.5 kB / 0.5485 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1491, allocations: 29.7 kB / 0.5485 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1493, allocations: 224 kB / 0.5487 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.1494, allocations: 55.53 kB / 0.5487 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.1494, allocations: 49.66 kB / 0.5488 GB, free: 10.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1496, allocations: 342.9 kB / 0.5491 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1497, allocations: 71.94 kB / 0.5492 GB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.15, allocations: 173.3 kB / 0.5494 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.1503, allocations: 255.6 kB / 0.5496 GB, free: 9.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1503, allocations: 4 kB / 0.5496 GB, free: 9.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004416/0.1508, allocations: 289 kB / 0.5499 GB, free: 9.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1508, allocations: 8 kB / 0.5499 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1508, allocations: 4 kB / 0.5499 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1508, allocations: 4.438 kB / 0.5499 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1511, allocations: 59.91 kB / 0.5499 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1511, allocations: 7.938 kB / 0.55 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1512, allocations: 19.98 kB / 0.55 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1513, allocations: 8 kB / 0.55 GB, free: 9.434 MB / 414.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.0001854/0.1515, allocations: 174.3 kB / 0.5502 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.1515, allocations: 35.73 kB / 0.5502 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.1519, allocations: 234.1 kB / 0.5504 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1519, allocations: 4 kB / 0.5504 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1519, allocations: 4 kB / 0.5504 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1519, allocations: 0 / 0.5504 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.1528, allocations: 0.6162 MB / 0.551 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1528, allocations: 0 / 0.551 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.153, allocations: 47.84 kB / 0.5511 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.153, allocations: 0 / 0.5511 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.153, allocations: 8 kB / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.153, allocations: 0 / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.153, allocations: 0 / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.1536, allocations: 428.9 kB / 0.5515 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.1537, allocations: 104.9 kB / 0.5516 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.1537, allocations: 8 kB / 0.5516 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1539, allocations: 7.938 kB / 0.5516 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1539, allocations: 15.98 kB / 0.5516 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.154, allocations: 15.92 kB / 0.5516 GB, free: 7.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.1542, allocations: 211.1 kB / 0.5518 GB, free: 7.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1542, allocations: 0 / 0.5518 GB, free: 7.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1545, allocations: 56 kB / 0.5519 GB, free: 7.379 MB / 414.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.0008856/0.1554, allocations: 0.9585 MB / 0.5528 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1558, allocations: 179.7 kB / 0.553 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1558, allocations: 4 kB / 0.553 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1559, allocations: 80.83 kB / 0.5531 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.1565, allocations: 79.58 kB / 0.5531 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.16, allocations: 2.912 MB / 0.556 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.1605, allocations: 0.8026 MB / 0.5568 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.1606, allocations: 50.94 kB / 0.5568 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.1608, allocations: 111.4 kB / 0.5569 GB, free: 1.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1608, allocations: 0 / 0.5569 GB, free: 1.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.1936, allocations: 6.039 MB / 0.5628 GB, free: 12.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.562, allocations: 17.89 kB / 0.5628 GB, free: 12.03 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.736934824002674] Failed to read output from testmodel.py, exit status != 0: 8.635808794002514 8.660780856 8.514927756 Calling exit ...