Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001791/0.001791, allocations: 123 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.002245/0.002245, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.482/1.482, 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.1835/0.1835, allocations: 38.5 MB / 348.7 MB, free: 2.605 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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.002113/0.002113, allocations: 71.89 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1212, allocations: 62.42 MB / 0.5367 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006481/0.1276, allocations: 4.605 MB / 0.5412 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1304, allocations: 1.608 MB / 0.5427 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1306, allocations: 23.81 kB / 0.5428 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009979/0.1316, allocations: 294.6 kB / 0.543 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.1323, allocations: 266.7 kB / 0.5433 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.1331, allocations: 267.3 kB / 0.5436 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.134, allocations: 0.6079 MB / 0.5441 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.1344, allocations: 200.2 kB / 0.5443 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.1349, allocations: 290.9 kB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.1354, allocations: 350.8 kB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.1355, allocations: 40 kB / 0.545 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.1358, allocations: 151.8 kB / 0.5451 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1361, allocations: 231.3 kB / 0.5454 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1363, allocations: 242.8 kB / 0.5456 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.1371, allocations: 0.603 MB / 0.5462 GB, free: 13.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1371, allocations: 4 kB / 0.5462 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1371, allocations: 0 / 0.5462 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.1371, allocations: 0 / 0.5462 GB, free: 13.77 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00159/0.1387, allocations: 0.7887 MB / 0.5469 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1387, allocations: 8.031 kB / 0.547 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.1388, allocations: 82.7 kB / 0.547 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.1397, allocations: 124.5 kB / 0.5472 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.1404, allocations: 420.2 kB / 0.5476 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1404, allocations: 33.36 kB / 0.5476 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.1406, allocations: 51.92 kB / 0.5476 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.1415, allocations: 0.6638 MB / 0.5483 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1416, allocations: 0 / 0.5483 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.1416, allocations: 23.92 kB / 0.5483 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.1418, allocations: 48.97 kB / 0.5484 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.1426, allocations: 0.4916 MB / 0.5488 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.1462, allocations: 3.141 MB / 0.5519 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.1467, allocations: 237.3 kB / 0.5521 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1469, allocations: 117.7 kB / 0.5522 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1469, allocations: 7.984 kB / 0.5522 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.147, allocations: 38.56 kB / 0.5523 GB, free: 7.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.147, allocations: 0 / 0.5523 GB, free: 7.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001705/0.1487, allocations: 0.8986 MB / 0.5532 GB, free: 6.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1487, allocations: 85.05 kB / 0.5532 GB, free: 6.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.1491, allocations: 332.5 kB / 0.5536 GB, free: 5.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.1491, allocations: 33.7 kB / 0.5536 GB, free: 5.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1493, allocations: 295.9 kB / 0.5539 GB, free: 5.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.1494, allocations: 95.25 kB / 0.554 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.1496, allocations: 90.08 kB / 0.5541 GB, free: 5.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1498, allocations: 342.8 kB / 0.5544 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.15, allocations: 136.8 kB / 0.5545 GB, free: 4.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.1504, allocations: 325.1 kB / 0.5548 GB, free: 4.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.151, allocations: 0.4964 MB / 0.5553 GB, free: 3.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.151, allocations: 0 / 0.5553 GB, free: 3.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001164/0.1522, allocations: 0.5883 MB / 0.5559 GB, free: 3.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1522, allocations: 8 kB / 0.5559 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006416/0.1529, allocations: 329.7 kB / 0.5562 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.1533, allocations: 122.2 kB / 0.5563 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1536, allocations: 91.83 kB / 0.5564 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.1569, allocations: 3.27 MB / 0.5596 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.1572, allocations: 20 kB / 0.5596 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1572, allocations: 23.98 kB / 0.5596 GB, free: 15.02 MB / 430.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.1575, allocations: 216.4 kB / 0.5598 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.1576, allocations: 35.88 kB / 0.5599 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/0.1582, allocations: 316.6 kB / 0.5602 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1582, allocations: 4 kB / 0.5602 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1582, allocations: 3.938 kB / 0.5602 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1582, allocations: 4 kB / 0.5602 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1594, allocations: 0.8071 MB / 0.561 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1594, allocations: 4 kB / 0.561 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.1597, allocations: 67.84 kB / 0.5611 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1597, allocations: 0 / 0.5611 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1598, allocations: 8 kB / 0.5611 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1598, allocations: 4 kB / 0.5611 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1598, allocations: 3.938 kB / 0.5611 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.1605, allocations: 0.5095 MB / 0.5616 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1607, allocations: 133 kB / 0.5617 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.1607, allocations: 15.92 kB / 0.5617 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1609, allocations: 4 kB / 0.5617 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.1609, allocations: 27.81 kB / 0.5617 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.161, allocations: 4 kB / 0.5617 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.1613, allocations: 231 kB / 0.562 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1613, allocations: 0 / 0.562 GB, free: 12.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.1618, allocations: 96 kB / 0.5621 GB, free: 12.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.001108/0.1629, allocations: 1.051 MB / 0.5631 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1639, allocations: 0.5572 MB / 0.5636 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1639, allocations: 4.062 kB / 0.5636 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1641, allocations: 119.8 kB / 0.5637 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.1647, allocations: 63.91 kB / 0.5638 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.1704, allocations: 4.069 MB / 0.5678 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.171, allocations: 0.8582 MB / 0.5686 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.1713, allocations: 111.2 kB / 0.5687 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.1715, allocations: 151.4 kB / 0.5689 GB, free: 5.078 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1715, allocations: 3.938 kB / 0.5689 GB, free: 5.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.2087, allocations: 7.746 MB / 0.5764 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.51, allocations: 7.125 kB / 0.5764 GB, free: 13.45 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.456676182002411] Failed to read output from testmodel.py, exit status != 0: 10.590765228000237 10.607253686 10.466603141 Calling exit ...