Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 83.75 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 178.7 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3382/0.3382, allocations: 38.06 MB / 309.7 MB, free: 8.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005738/0.0005739, allocations: 18.19 kB / 376.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 56.32 MB / 433 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003335/0.1276, allocations: 1.717 MB / 434.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1288, allocations: 0.5388 MB / 435.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1289, allocations: 3.938 kB / 435.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1291, allocations: 7.922 kB / 435.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.1292, allocations: 19.91 kB / 435.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1296, allocations: 59.86 kB / 435.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1297, allocations: 87.7 kB / 435.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.1298, allocations: 4 kB / 435.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.13, allocations: 31.84 kB / 435.4 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.13, allocations: 35.84 kB / 435.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1301, allocations: 0 / 435.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1302, allocations: 39.94 kB / 435.5 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1303, allocations: 27.92 kB / 435.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.1304, allocations: 33.64 kB / 435.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1306, allocations: 76.12 kB / 435.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.1306, allocations: 0 / 435.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1306, allocations: 3.938 kB / 435.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1306, allocations: 4 kB / 435.6 MB, free: 3.883 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005598/0.1312, allocations: 432.6 kB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1312, allocations: 8.031 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.1313, allocations: 42.55 kB / 436.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.1313, allocations: 15.77 kB / 436.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1316, allocations: 182.8 kB / 436.3 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1316, allocations: 0 / 436.3 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1316, allocations: 4 kB / 436.3 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1318, allocations: 85.67 kB / 436.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1318, allocations: 3.938 kB / 436.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1319, allocations: 4 kB / 436.4 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1319, allocations: 7.891 kB / 436.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.132, allocations: 55.98 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.1322, allocations: 181.5 kB / 436.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1323, allocations: 98.55 kB / 436.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1324, allocations: 84.88 kB / 436.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1324, allocations: 3.984 kB / 436.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1325, allocations: 34.56 kB / 436.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.1325, allocations: 0 / 436.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005302/0.133, allocations: 296 kB / 437.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.1331, allocations: 97.09 kB / 437.2 MB, free: 2.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1333, allocations: 138 kB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1333, allocations: 25.7 kB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.1334, allocations: 96.56 kB / 437.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.1334, allocations: 74.81 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.1335, allocations: 4.031 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1336, allocations: 322.8 kB / 437.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1337, allocations: 55.98 kB / 437.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.1338, allocations: 63.83 kB / 438 MB, free: 1.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1339, allocations: 117.7 kB / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1339, allocations: 0 / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002917/0.1342, allocations: 227 kB / 438.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.1343, allocations: 65.66 kB / 438.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1344, allocations: 0 / 438.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1344, allocations: 0 / 438.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.1344, allocations: 4.062 kB / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1344, allocations: 3.984 kB / 438.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1345, allocations: 15.8 kB / 438.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.1345, allocations: 8 kB / 438.4 MB, free: 0.8203 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.1347, allocations: 187.5 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1348, allocations: 11.91 kB / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.1348, allocations: 21.11 kB / 438.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1348, allocations: 0 / 438.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1348, allocations: 0 / 438.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1348, allocations: 4 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1351, allocations: 209.3 kB / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1351, allocations: 0 / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.1351, allocations: 0 / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1351, allocations: 0 / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1351, allocations: 4 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1351, allocations: 8 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1352, allocations: 0 / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.1357, allocations: 0.5138 MB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1358, allocations: 88.95 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1359, allocations: 4 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.1359, allocations: 4 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1359, allocations: 0 / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1359, allocations: 4 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1361, allocations: 111.8 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1361, allocations: 0 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1363, allocations: 44 kB / 439.6 MB, free: 15.51 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.1374, allocations: 1.055 MB / 440.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.1381, allocations: 0.7022 MB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1381, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.1386, allocations: 0.5696 MB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1389, allocations: 20.16 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1408, allocations: 1.26 MB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.1415, allocations: 0.7318 MB / 444 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.1415, allocations: 3.984 kB / 444 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1415, allocations: 27.44 kB / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1416, allocations: 0 / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1584, allocations: 3.201 MB / 447.2 MB, free: 7.801 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.1587, allocations: 195.2 kB / 447.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.162, allocations: 0 / 447.4 MB, free: 7.559 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: