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.001336/0.001336, allocations: 113 kB / 18.49 MB, free: 4.539 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.001454/0.001454, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.564/1.564, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.1884/0.1884, allocations: 38.5 MB / 349.4 MB, free: 2.602 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="cs",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.002161/0.002161, allocations: 67.91 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 62.41 MB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007524/0.126, allocations: 4.613 MB / 0.5419 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.1294, allocations: 1.612 MB / 0.5434 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.1299, allocations: 19.81 kB / 0.5434 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.131, allocations: 302.2 kB / 0.5437 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008889/0.1319, allocations: 270.7 kB / 0.544 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.1329, allocations: 251.4 kB / 0.5442 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1339, allocations: 0.6157 MB / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.1345, allocations: 208.2 kB / 0.545 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.1351, allocations: 290.9 kB / 0.5453 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.1358, allocations: 350.9 kB / 0.5456 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.1359, allocations: 36 kB / 0.5457 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1363, allocations: 151.7 kB / 0.5458 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.1366, allocations: 223.4 kB / 0.546 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.1369, allocations: 242.8 kB / 0.5463 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.1378, allocations: 0.6069 MB / 0.5469 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1378, allocations: 8 kB / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1378, allocations: 0 / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1378, allocations: 0 / 0.5469 GB, free: 13.78 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.00165/0.1395, allocations: 0.777 MB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1395, allocations: 8.031 kB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.895e-05/0.1395, allocations: 17.19 kB / 0.5477 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.1397, allocations: 90.62 kB / 0.5477 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.1405, allocations: 124.5 kB / 0.5479 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.1413, allocations: 420.3 kB / 0.5483 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.1413, allocations: 33.12 kB / 0.5483 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1415, allocations: 51.97 kB / 0.5483 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1425, allocations: 0.6599 MB / 0.549 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.1426, allocations: 7.938 kB / 0.549 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.1426, allocations: 16 kB / 0.549 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.1428, allocations: 52.95 kB / 0.5491 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.1436, allocations: 495.4 kB / 0.5495 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.1477, allocations: 3.145 MB / 0.5526 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.1483, allocations: 233.3 kB / 0.5528 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1485, allocations: 121.5 kB / 0.5529 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.1485, allocations: 8 kB / 0.5529 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.1486, allocations: 42.48 kB / 0.553 GB, free: 7.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.494e-06/0.1486, allocations: 0 / 0.553 GB, free: 7.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001819/0.1504, allocations: 0.8975 MB / 0.5539 GB, free: 6.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.1505, allocations: 85.05 kB / 0.5539 GB, free: 6.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.1509, allocations: 332.4 kB / 0.5543 GB, free: 5.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.151, allocations: 29.7 kB / 0.5543 GB, free: 5.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.1512, allocations: 308 kB / 0.5546 GB, free: 5.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.1513, allocations: 87.28 kB / 0.5547 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1514, allocations: 90.06 kB / 0.5548 GB, free: 5.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1516, allocations: 354.7 kB / 0.5551 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1519, allocations: 124.8 kB / 0.5552 GB, free: 4.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.1523, allocations: 325.1 kB / 0.5555 GB, free: 4.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.153, allocations: 0.4964 MB / 0.556 GB, free: 3.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.153, allocations: 4 kB / 0.556 GB, free: 3.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001331/0.1543, allocations: 0.5887 MB / 0.5566 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.1543, allocations: 8 kB / 0.5566 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007222/0.1551, allocations: 325.7 kB / 0.5569 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.1556, allocations: 121.5 kB / 0.557 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.156, allocations: 88.08 kB / 0.5571 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.1598, allocations: 3.282 MB / 0.5603 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.1602, allocations: 15.98 kB / 0.5603 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.1602, allocations: 24 kB / 0.5603 GB, free: 15.01 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.0003452/0.1606, allocations: 217.5 kB / 0.5606 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.1606, allocations: 35.8 kB / 0.5606 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.1613, allocations: 316.8 kB / 0.5609 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1613, allocations: 7.938 kB / 0.5609 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.1613, allocations: 0 / 0.5609 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1613, allocations: 3.984 kB / 0.5609 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1627, allocations: 0.8031 MB / 0.5617 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.1627, allocations: 3.938 kB / 0.5617 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.1631, allocations: 63.91 kB / 0.5618 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1631, allocations: 4.062 kB / 0.5618 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.1631, allocations: 11.98 kB / 0.5618 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1631, allocations: 0 / 0.5618 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1631, allocations: 7.938 kB / 0.5618 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.1639, allocations: 0.5016 MB / 0.5623 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.164, allocations: 136.8 kB / 0.5624 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.1641, allocations: 8 kB / 0.5624 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1643, allocations: 8 kB / 0.5624 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1643, allocations: 19.83 kB / 0.5624 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1643, allocations: 15.94 kB / 0.5624 GB, free: 12.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1646, allocations: 223 kB / 0.5627 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1646, allocations: 0 / 0.5627 GB, free: 12.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.1652, allocations: 96 kB / 0.5627 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.001096/0.1663, allocations: 1.055 MB / 0.5638 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.1673, allocations: 0.5571 MB / 0.5643 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1673, allocations: 4 kB / 0.5643 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1675, allocations: 120.1 kB / 0.5644 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.0005489/0.1681, allocations: 68.39 kB / 0.5645 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.174, allocations: 4.061 MB / 0.5685 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.1746, allocations: 0.8738 MB / 0.5693 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.1749, allocations: 111.2 kB / 0.5694 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.1752, allocations: 143.4 kB / 0.5696 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1752, allocations: 0 / 0.5696 GB, free: 5.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.2105, allocations: 7.77 MB / 0.5772 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 7.594 kB / 0.5772 GB, free: 13.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 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: 14.03457671101205] Failed to read output from testmodel.py, exit status != 0: 11.185048078012187 11.210075369 11.067620099 Calling exit ...