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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 109 kB / 17.06 MB, free: 5.812 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.00134/0.001341, allocations: 195 kB / 18 MB, free: 4.977 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1707/0.1707, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001367/0.001368, allocations: 75.88 kB / 431.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 55.23 MB / 486.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003605/0.1108, allocations: 2.052 MB / 488.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.1117, allocations: 0.562 MB / 489.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1118, allocations: 4 kB / 489.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.112, allocations: 11.92 kB / 489.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.1121, allocations: 31.83 kB / 489.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1124, allocations: 63.86 kB / 489.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1126, allocations: 67.69 kB / 489.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.1126, allocations: 3.984 kB / 489.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.1127, allocations: 39.84 kB / 489.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1128, allocations: 23.91 kB / 489.5 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1128, allocations: 4 kB / 489.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.113, allocations: 71.84 kB / 489.5 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.113, allocations: 15.92 kB / 489.6 MB, free: 6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1131, allocations: 15.88 kB / 489.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1132, allocations: 102.6 kB / 489.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1132, allocations: 3.938 kB / 489.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1132, allocations: 0 / 489.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1133, allocations: 0 / 489.7 MB, free: 5.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003833/0.1136, allocations: 389.8 kB / 490.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1137, allocations: 15.89 kB / 490.1 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.1137, allocations: 30.75 kB / 490.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1138, allocations: 4.938 kB / 490.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1139, allocations: 176.2 kB / 490.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1139, allocations: 4.375 kB / 490.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.114, allocations: 3.938 kB / 490.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1141, allocations: 49.69 kB / 490.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1141, allocations: 0 / 490.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1141, allocations: 7.984 kB / 490.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1141, allocations: 0 / 490.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.1142, allocations: 27.92 kB / 490.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1143, allocations: 157.6 kB / 490.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1144, allocations: 50.5 kB / 490.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.1144, allocations: 32.88 kB / 490.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1144, allocations: 3.938 kB / 490.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1145, allocations: 38.56 kB / 490.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1145, allocations: 0 / 490.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002524/0.1147, allocations: 147.4 kB / 490.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1148, allocations: 81.11 kB / 490.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.1149, allocations: 109.8 kB / 491 MB, free: 4.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1149, allocations: 29.7 kB / 491 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.115, allocations: 88.12 kB / 491.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.115, allocations: 31.5 kB / 491.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1151, allocations: 25.73 kB / 491.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1152, allocations: 314.8 kB / 491.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.1152, allocations: 19.98 kB / 491.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.1152, allocations: 23.98 kB / 491.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1154, allocations: 124.5 kB / 491.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1154, allocations: 3.938 kB / 491.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.1155, allocations: 115.4 kB / 491.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.1156, allocations: 45.69 kB / 491.8 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1156, allocations: 0 / 491.8 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1156, allocations: 8.062 kB / 491.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.1156, allocations: 3.984 kB / 491.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1156, allocations: 0 / 491.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.1156, allocations: 3.906 kB / 491.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1157, allocations: 4 kB / 491.8 MB, free: 3.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.1158, allocations: 151.5 kB / 491.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1158, allocations: 15.91 kB / 492 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.1158, allocations: 8.359 kB / 492 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1158, allocations: 0 / 492 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1158, allocations: 4 kB / 492 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1158, allocations: 0 / 492 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.116, allocations: 169.5 kB / 492.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.116, allocations: 0 / 492.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.116, allocations: 4 kB / 492.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.116, allocations: 384 / 492.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.116, allocations: 4 kB / 492.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.116, allocations: 3.938 kB / 492.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.116, allocations: 0 / 492.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1162, allocations: 226.5 kB / 492.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.1163, allocations: 81.11 kB / 492.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1163, allocations: 0 / 492.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.1163, allocations: 4 kB / 492.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.1164, allocations: 4 kB / 492.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1164, allocations: 4 kB / 492.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.1164, allocations: 91.27 kB / 492.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1164, allocations: 0 / 492.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1167, allocations: 31.94 kB / 492.6 MB, free: 2.586 MB / 366.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.0005467/0.1172, allocations: 0.7623 MB / 493.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1175, allocations: 191.3 kB / 493.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1175, allocations: 0 / 493.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1176, allocations: 147.4 kB / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1178, allocations: 20.05 kB / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1193, allocations: 1.55 MB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1195, allocations: 0.6962 MB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.1196, allocations: 0 / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1196, allocations: 11.44 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1196, allocations: 0 / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.1376, allocations: 2.201 MB / 498.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.352, allocations: 12 kB / 498.2 MB, free: 12.78 MB / 382.1 MB (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)