Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.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.2043/0.2043, allocations: 38.5 MB / 342.5 MB, free: 7.992 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.55 kB / 478.6 MB, free: 33.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1373, allocations: 61.25 MB / 0.5272 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004071/0.1413, allocations: 2.052 MB / 0.5292 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1424, allocations: 0.5338 MB / 0.5297 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1425, allocations: 0 / 0.5297 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1427, allocations: 11.92 kB / 0.5297 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1428, allocations: 27.84 kB / 0.5298 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1431, allocations: 63.83 kB / 0.5298 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1433, allocations: 67.75 kB / 0.5299 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.1433, allocations: 0 / 0.5299 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1435, allocations: 35.84 kB / 0.5299 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.1435, allocations: 35.83 kB / 0.53 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1435, allocations: 4 kB / 0.53 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.1437, allocations: 87.78 kB / 0.5301 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1438, allocations: 15.94 kB / 0.5301 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.1438, allocations: 11.88 kB / 0.5301 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1441, allocations: 99.95 kB / 0.5302 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1441, allocations: 0 / 0.5302 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1441, allocations: 0 / 0.5302 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1441, allocations: 0 / 0.5302 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005542/0.1446, allocations: 400.8 kB / 0.5306 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1447, allocations: 11.89 kB / 0.5306 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.1447, allocations: 38.69 kB / 0.5306 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1448, allocations: 0.9375 kB / 0.5306 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.145, allocations: 180.3 kB / 0.5308 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.145, allocations: 4.375 kB / 0.5308 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.145, allocations: 7.938 kB / 0.5308 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1452, allocations: 49.69 kB / 0.5308 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1452, allocations: 0 / 0.5308 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1452, allocations: 3.938 kB / 0.5308 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1452, allocations: 8 kB / 0.5309 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.1452, allocations: 23.92 kB / 0.5309 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1454, allocations: 161.6 kB / 0.531 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.1455, allocations: 42.5 kB / 0.5311 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.1456, allocations: 24.88 kB / 0.5311 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1456, allocations: 4 kB / 0.5311 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.1456, allocations: 30.56 kB / 0.5311 GB, free: 13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1456, allocations: 4 kB / 0.5311 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003027/0.1459, allocations: 139.3 kB / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.146, allocations: 89.11 kB / 0.5313 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1461, allocations: 113.8 kB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1461, allocations: 25.7 kB / 0.5315 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.1462, allocations: 84.14 kB / 0.5316 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.1463, allocations: 27.91 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.1463, allocations: 21.7 kB / 0.5316 GB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1465, allocations: 318.9 kB / 0.5319 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.1465, allocations: 23.92 kB / 0.5319 GB, free: 12.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.1466, allocations: 27.97 kB / 0.532 GB, free: 12.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1467, allocations: 120.2 kB / 0.5321 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1467, allocations: 3.938 kB / 0.5321 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001773/0.1469, allocations: 127.2 kB / 0.5322 GB, free: 11.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.1469, allocations: 41.69 kB / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1469, allocations: 0 / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.147, allocations: 0 / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.147, allocations: 4.062 kB / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.147, allocations: 0 / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.147, allocations: 4 kB / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.147, allocations: 0 / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001454/0.1472, allocations: 159.5 kB / 0.5324 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1472, allocations: 11.94 kB / 0.5324 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.1472, allocations: 4.375 kB / 0.5324 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1472, allocations: 4.359 kB / 0.5324 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1472, allocations: 4 kB / 0.5324 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1472, allocations: 4 kB / 0.5324 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1474, allocations: 169.6 kB / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1474, allocations: 3.938 kB / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1474, allocations: 0 / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1474, allocations: 0 / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1474, allocations: 4 kB / 0.5326 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1474, allocations: 0 / 0.5326 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1474, allocations: 0 / 0.5326 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1477, allocations: 222.6 kB / 0.5328 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1478, allocations: 85 kB / 0.5329 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1478, allocations: 8 kB / 0.5329 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.1478, allocations: 0 / 0.5329 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1478, allocations: 4 kB / 0.5329 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1478, allocations: 0 / 0.5329 GB, free: 10.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.1479, allocations: 91.27 kB / 0.533 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1479, allocations: 0 / 0.533 GB, free: 10.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1481, allocations: 24 kB / 0.533 GB, free: 10.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.00077/0.1489, allocations: 0.7743 MB / 0.5338 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1492, allocations: 171.3 kB / 0.5339 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1492, allocations: 0 / 0.5339 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1493, allocations: 123.4 kB / 0.5341 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1496, allocations: 10.66 kB / 0.5341 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1514, allocations: 1.55 MB / 0.5356 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1518, allocations: 0.6924 MB / 0.5363 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.839e-05/0.1518, allocations: 0 / 0.5363 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1519, allocations: 15.44 kB / 0.5363 GB, free: 7.359 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1519, allocations: 0 / 0.5363 GB, free: 7.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.1828, allocations: 2.194 MB / 0.5384 GB, free: 5.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.238, allocations: 9.328 kB / 0.5384 GB, free: 5.262 MB / 398.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.19719440722838] Failed to read output from testmodel.py, exit status != 0: 8.307396332733333 8.330458509 8.182121693 Calling exit ...