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.0009321/0.0009322, allocations: 96.84 kB / 16.3 MB, free: 5.992 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.001002/0.001002, allocations: 187.7 kB / 17.2 MB, free: 5.91 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.647/1.647, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.323/0.323, allocations: 38.06 MB / 309.7 MB, free: 8.836 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.0005004/0.0005006, allocations: 12 kB / 376.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 56.34 MB / 432.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002556/0.1239, allocations: 1.711 MB / 434.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.1246, allocations: 0.5272 MB / 435.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.1247, allocations: 0 / 435.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1248, allocations: 7.984 kB / 435.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.1249, allocations: 15.91 kB / 435.2 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1252, allocations: 55.86 kB / 435.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.1252, allocations: 31.89 kB / 435.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.1253, allocations: 0 / 435.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.1254, allocations: 27.91 kB / 435.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.1254, allocations: 15.92 kB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1254, allocations: 4 kB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1256, allocations: 47.88 kB / 435.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.1256, allocations: 27.92 kB / 435.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1256, allocations: 29.64 kB / 435.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1258, allocations: 76.12 kB / 435.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1258, allocations: 0 / 435.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1258, allocations: 0 / 435.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1258, allocations: 0 / 435.5 MB, free: 4.02 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.0004225/0.1262, allocations: 440.5 kB / 435.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1263, allocations: 12.03 kB / 435.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.1263, allocations: 42.5 kB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1263, allocations: 15.81 kB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1265, allocations: 182.8 kB / 436.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.1265, allocations: 0 / 436.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1266, allocations: 0 / 436.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1267, allocations: 93.61 kB / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1267, allocations: 0 / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1267, allocations: 4 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1268, allocations: 3.953 kB / 436.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.1268, allocations: 55.98 kB / 436.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.1271, allocations: 177.5 kB / 436.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1273, allocations: 98.55 kB / 436.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.1273, allocations: 0 / 436.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1274, allocations: 38.53 kB / 436.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 8.71e-07/0.1274, allocations: 4 kB / 436.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004962/0.1279, allocations: 381.2 kB / 437 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.128, allocations: 101.1 kB / 437.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1281, allocations: 134 kB / 437.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1281, allocations: 25.7 kB / 437.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1282, allocations: 96.56 kB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.1282, allocations: 74.81 kB / 437.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.1282, allocations: 0 / 437.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.1285, allocations: 334.8 kB / 437.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.1285, allocations: 51.98 kB / 437.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.1286, allocations: 63.83 kB / 437.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1287, allocations: 125.6 kB / 438 MB, free: 1.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1287, allocations: 0 / 438 MB, free: 1.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002186/0.129, allocations: 223 kB / 438.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.129, allocations: 65.66 kB / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.129, allocations: 0 / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1291, allocations: 0 / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.1291, allocations: 0 / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1291, allocations: 0 / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1291, allocations: 31.8 kB / 438.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1291, allocations: 4 kB / 438.3 MB, free: 0.9219 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.0001511/0.1293, allocations: 191.5 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1293, allocations: 11.91 kB / 438.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.1294, allocations: 13.17 kB / 438.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1294, allocations: 0 / 438.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1294, allocations: 0 / 438.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1294, allocations: 0 / 438.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1295, allocations: 201.4 kB / 438.7 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1295, allocations: 4 kB / 438.7 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1295, allocations: 0 / 438.7 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1295, allocations: 0 / 438.7 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.1296, allocations: 11.98 kB / 438.7 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1296, allocations: 3.938 kB / 438.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.1296, allocations: 3.984 kB / 438.7 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1301, allocations: 0.4983 MB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.1302, allocations: 88.95 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1302, allocations: 12.02 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.1302, allocations: 4 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1303, allocations: 4 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1303, allocations: 8 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1304, allocations: 99.17 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1304, allocations: 0 / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1307, allocations: 51.98 kB / 439.5 MB, free: 15.62 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.0009081/0.1316, allocations: 1.055 MB / 440.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008013/0.1324, allocations: 0.7022 MB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1324, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.133, allocations: 0.5696 MB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.1332, allocations: 11.98 kB / 441.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1347, allocations: 1.268 MB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1351, allocations: 0.728 MB / 443.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.69e-05/0.1352, allocations: 0 / 443.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1352, allocations: 35.42 kB / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1352, allocations: 0 / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.1495, allocations: 3.182 MB / 447.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.1498, allocations: 186 kB / 447.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.908, allocations: 3.938 kB / 447.2 MB, free: 7.688 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: