Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001714/0.001714, 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.002499/0.002499, 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.53/1.53, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.1893/0.1893, allocations: 38.51 MB / 349.4 MB, free: 2.57 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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.002005/0.002005, allocations: 67.89 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 62.41 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006721/0.1318, allocations: 4.402 MB / 0.5417 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1336, allocations: 0.9622 MB / 0.5426 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.1338, allocations: 15.88 kB / 0.5426 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.134, allocations: 59.48 kB / 0.5427 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.1347, allocations: 246.8 kB / 0.5429 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1349, allocations: 95.81 kB / 0.543 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.1356, allocations: 0.4983 MB / 0.5435 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1359, allocations: 123.9 kB / 0.5436 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.1363, allocations: 235.1 kB / 0.5438 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1367, allocations: 287 kB / 0.5441 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.1368, allocations: 24 kB / 0.5441 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.1368, allocations: 24 kB / 0.5441 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.137, allocations: 151.6 kB / 0.5443 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1372, allocations: 175.1 kB / 0.5445 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.1377, allocations: 366.5 kB / 0.5448 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1377, allocations: 0 / 0.5448 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1377, allocations: 3.938 kB / 0.5448 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1377, allocations: 4 kB / 0.5448 GB, free: 15.86 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001295/0.139, allocations: 0.6669 MB / 0.5455 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.139, allocations: 8.031 kB / 0.5455 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.883e-05/0.139, allocations: 12.59 kB / 0.5455 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.817e-05/0.1391, allocations: 62.72 kB / 0.5455 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.1392, allocations: 36.7 kB / 0.5456 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.1398, allocations: 387.8 kB / 0.5459 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1399, allocations: 20.56 kB / 0.546 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1399, allocations: 31.94 kB / 0.546 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.1405, allocations: 348.8 kB / 0.5463 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1405, allocations: 7.922 kB / 0.5463 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1405, allocations: 8 kB / 0.5463 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.1406, allocations: 32.53 kB / 0.5464 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.141, allocations: 234 kB / 0.5466 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.143, allocations: 1.367 MB / 0.5479 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.1434, allocations: 165 kB / 0.5481 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1436, allocations: 93.73 kB / 0.5482 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1436, allocations: 3.938 kB / 0.5482 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1436, allocations: 34.56 kB / 0.5482 GB, free: 12.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.454e-06/0.1436, allocations: 0 / 0.5482 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001517/0.1451, allocations: 0.772 MB / 0.549 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.1452, allocations: 89.03 kB / 0.5491 GB, free: 11.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1455, allocations: 296.5 kB / 0.5493 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1456, allocations: 33.64 kB / 0.5494 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1457, allocations: 216 kB / 0.5496 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.1458, allocations: 55.53 kB / 0.5496 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.1459, allocations: 53.78 kB / 0.5497 GB, free: 10.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1461, allocations: 338.8 kB / 0.55 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1462, allocations: 67.95 kB / 0.5501 GB, free: 10.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1464, allocations: 176 kB / 0.5502 GB, free: 9.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.1468, allocations: 256.6 kB / 0.5505 GB, free: 9.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1468, allocations: 0 / 0.5505 GB, free: 9.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005718/0.1473, allocations: 317.8 kB / 0.5508 GB, free: 9.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1474, allocations: 8.438 kB / 0.5508 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1474, allocations: 8 kB / 0.5508 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/0.1476, allocations: 52.81 kB / 0.5509 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.1478, allocations: 47.92 kB / 0.5509 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.1496, allocations: 1.613 MB / 0.5525 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1498, allocations: 8 kB / 0.5525 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.1498, allocations: 12 kB / 0.5525 GB, free: 7.391 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.15, allocations: 185.7 kB / 0.5527 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.1501, allocations: 27.81 kB / 0.5527 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.1505, allocations: 238.4 kB / 0.5529 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1505, allocations: 0 / 0.5529 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1505, allocations: 0 / 0.5529 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1505, allocations: 4 kB / 0.5529 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.1515, allocations: 0.6404 MB / 0.5536 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1515, allocations: 4.031 kB / 0.5536 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1517, allocations: 19.94 kB / 0.5536 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.1519, allocations: 64.78 kB / 0.5536 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1519, allocations: 0 / 0.5536 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.1535, allocations: 1.609 MB / 0.5552 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1535, allocations: 0 / 0.5552 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.1541, allocations: 405.8 kB / 0.5556 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.1542, allocations: 101 kB / 0.5557 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1542, allocations: 11.98 kB / 0.5557 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1543, allocations: 8 kB / 0.5557 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1544, allocations: 11.92 kB / 0.5557 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1544, allocations: 16 kB / 0.5557 GB, free: 3.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.1546, allocations: 207.1 kB / 0.5559 GB, free: 3.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1546, allocations: 0 / 0.5559 GB, free: 3.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.1551, allocations: 72 kB / 0.556 GB, free: 3.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009168/0.156, allocations: 0.936 MB / 0.5569 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.1566, allocations: 309.9 kB / 0.5572 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1566, allocations: 0 / 0.5572 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.157, allocations: 210.6 kB / 0.5574 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.1576, allocations: 67.14 kB / 0.5575 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.1616, allocations: 3.043 MB / 0.5604 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.1621, allocations: 0.8065 MB / 0.5612 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1622, allocations: 46.94 kB / 0.5613 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.1624, allocations: 99.41 kB / 0.5614 GB, free: 13.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1624, allocations: 4 kB / 0.5614 GB, free: 13.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.1925, allocations: 6.168 MB / 0.5674 GB, free: 7.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.79, allocations: 8 kB / 0.5674 GB, free: 7.723 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.817770591995213] Failed to read output from testmodel.py, exit status != 0: 10.94269064499531 10.964978994 10.823076541 Calling exit ...