Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001394/0.001394, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001434/0.001434, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.57/1.57, 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.1969/0.1969, allocations: 38.51 MB / 348.7 MB, free: 2.609 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.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.001911/0.001911, allocations: 71.89 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 62.41 MB / 0.5367 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007686/0.1335, allocations: 5.567 MB / 0.5421 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1363, allocations: 1.363 MB / 0.5434 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.1367, allocations: 23.81 kB / 0.5434 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.1372, allocations: 139 kB / 0.5436 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00099/0.1382, allocations: 378.3 kB / 0.5439 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1385, allocations: 131.8 kB / 0.5441 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.1394, allocations: 0.759 MB / 0.5448 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1397, allocations: 156.2 kB / 0.545 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.1402, allocations: 354.6 kB / 0.5453 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.1408, allocations: 394.6 kB / 0.5457 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.1409, allocations: 44 kB / 0.5457 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.141, allocations: 36 kB / 0.5457 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1412, allocations: 195.4 kB / 0.5459 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.1415, allocations: 246.7 kB / 0.5462 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.1421, allocations: 0.5367 MB / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1421, allocations: 0 / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1421, allocations: 0 / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1421, allocations: 0 / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001449/0.1436, allocations: 0.816 MB / 0.5475 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1436, allocations: 12.03 kB / 0.5475 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1437, allocations: 82.64 kB / 0.5476 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.1438, allocations: 60.56 kB / 0.5476 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.1446, allocations: 488.5 kB / 0.5481 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.1446, allocations: 29 kB / 0.5481 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.1447, allocations: 39.98 kB / 0.5482 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1455, allocations: 0.5 MB / 0.5487 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1455, allocations: 3.938 kB / 0.5487 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.1456, allocations: 16 kB / 0.5487 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.1456, allocations: 17 kB / 0.5487 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.1462, allocations: 371.6 kB / 0.549 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1488, allocations: 2.08 MB / 0.5511 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.1492, allocations: 221.3 kB / 0.5513 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.1495, allocations: 117.7 kB / 0.5514 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1495, allocations: 0 / 0.5514 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1495, allocations: 46.48 kB / 0.5514 GB, free: 8.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 3.437e-06/0.1495, allocations: 7.984 kB / 0.5515 GB, free: 8.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001322/0.1509, allocations: 0.7648 MB / 0.5522 GB, free: 7.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.1509, allocations: 85.05 kB / 0.5523 GB, free: 7.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1513, allocations: 377.5 kB / 0.5526 GB, free: 6.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1514, allocations: 29.7 kB / 0.5527 GB, free: 6.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1516, allocations: 291.9 kB / 0.5529 GB, free: 6.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.1517, allocations: 99.19 kB / 0.553 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1518, allocations: 82.09 kB / 0.5531 GB, free: 6.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1519, allocations: 350.8 kB / 0.5535 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1521, allocations: 84.83 kB / 0.5535 GB, free: 5.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1524, allocations: 277.2 kB / 0.5538 GB, free: 5.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.1529, allocations: 400.5 kB / 0.5542 GB, free: 4.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1529, allocations: 3.938 kB / 0.5542 GB, free: 4.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007395/0.1536, allocations: 453 kB / 0.5546 GB, free: 4.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1536, allocations: 12 kB / 0.5546 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.1537, allocations: 8 kB / 0.5546 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.1539, allocations: 52.83 kB / 0.5547 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1541, allocations: 79.84 kB / 0.5548 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.1556, allocations: 1.614 MB / 0.5563 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1558, allocations: 12 kB / 0.5564 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1559, allocations: 31.92 kB / 0.5564 GB, free: 2.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.1561, allocations: 206.3 kB / 0.5566 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.1562, allocations: 47.66 kB / 0.5566 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.1566, allocations: 241 kB / 0.5569 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1566, allocations: 0 / 0.5569 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1566, allocations: 4 kB / 0.5569 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1566, allocations: 0 / 0.5569 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000965/0.1575, allocations: 0.6915 MB / 0.5575 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1575, allocations: 7.984 kB / 0.5575 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1578, allocations: 43.92 kB / 0.5576 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1578, allocations: 0 / 0.5576 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1578, allocations: 8 kB / 0.5576 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1578, allocations: 0 / 0.5576 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1578, allocations: 7.984 kB / 0.5576 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.1583, allocations: 429.2 kB / 0.558 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1585, allocations: 124.8 kB / 0.5581 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1585, allocations: 4 kB / 0.5581 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1586, allocations: 11.98 kB / 0.5581 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1587, allocations: 11.98 kB / 0.5582 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1587, allocations: 8 kB / 0.5582 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1589, allocations: 259.2 kB / 0.5584 GB, free: 404 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 0.5584 GB, free: 404 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.1594, allocations: 95.94 kB / 0.5585 GB, free: 308 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0008305/0.1602, allocations: 0.9649 MB / 0.5594 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.1609, allocations: 371.8 kB / 0.5598 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1609, allocations: 0 / 0.5598 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.161, allocations: 91.84 kB / 0.5599 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.1616, allocations: 95.88 kB / 0.56 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.1661, allocations: 3.721 MB / 0.5636 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.1667, allocations: 0.8623 MB / 0.5645 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1669, allocations: 84.08 kB / 0.5645 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1671, allocations: 151.4 kB / 0.5647 GB, free: 9.621 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1671, allocations: 0 / 0.5647 GB, free: 9.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.2043, allocations: 7.678 MB / 0.5722 GB, free: 2.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.71, allocations: 8.859 kB / 0.5722 GB, free: 2.09 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.73537568798929] Failed to read output from testmodel.py, exit status != 0: 10.790812121995259 10.805461422 10.660249455 Calling exit ...