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.001152/0.001152, allocations: 110.5 kB / 17.06 MB, free: 6.098 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.001184/0.001185, allocations: 198.9 kB / 18 MB, free: 5.172 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.492/1.492, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1975/0.1975, allocations: 37.98 MB / 309.2 MB, free: 5.941 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.001417/0.001417, allocations: 79.89 kB / 431.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 55.23 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004889/0.1305, allocations: 2.048 MB / 488.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1316, allocations: 0.5581 MB / 489.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.1317, allocations: 0 / 489.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1319, allocations: 11.92 kB / 489.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.132, allocations: 31.83 kB / 489.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1324, allocations: 67.83 kB / 489.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1326, allocations: 67.7 kB / 489.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.1327, allocations: 4 kB / 489.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.1328, allocations: 31.84 kB / 489.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.1328, allocations: 27.91 kB / 489.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1329, allocations: 3.938 kB / 489.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.133, allocations: 75.84 kB / 489.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1331, allocations: 27.91 kB / 489.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1332, allocations: 31.67 kB / 489.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1334, allocations: 130.4 kB / 489.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1334, allocations: 0 / 489.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1334, allocations: 0 / 489.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1334, allocations: 0 / 489.7 MB, free: 5.707 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.000454/0.1339, allocations: 433.6 kB / 490.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1339, allocations: 19.89 kB / 490.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.134, allocations: 42.73 kB / 490.2 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.134, allocations: 12.75 kB / 490.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1342, allocations: 192.1 kB / 490.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1342, allocations: 384 / 490.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1342, allocations: 3.938 kB / 490.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1344, allocations: 93.67 kB / 490.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1344, allocations: 0 / 490.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1344, allocations: 0 / 490.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1344, allocations: 3.938 kB / 490.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.1345, allocations: 63.97 kB / 490.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.1347, allocations: 177.5 kB / 490.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1348, allocations: 94.7 kB / 490.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.1349, allocations: 89.06 kB / 490.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.1349, allocations: 0 / 490.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1349, allocations: 34.56 kB / 491 MB, free: 4.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.244e-06/0.135, allocations: 7.984 kB / 491 MB, free: 4.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004391/0.1354, allocations: 299 kB / 491.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1355, allocations: 97.11 kB / 491.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1356, allocations: 137.7 kB / 491.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1356, allocations: 25.7 kB / 491.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.1357, allocations: 96.52 kB / 491.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.1357, allocations: 82.73 kB / 491.7 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1358, allocations: 29.7 kB / 491.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1359, allocations: 330.9 kB / 492 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.136, allocations: 51.98 kB / 492.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.136, allocations: 56.58 kB / 492.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1362, allocations: 256 kB / 492.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1362, allocations: 3.938 kB / 492.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002266/0.1365, allocations: 215.2 kB / 492.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.1366, allocations: 65.66 kB / 492.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1366, allocations: 0 / 492.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1366, allocations: 0 / 492.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1366, allocations: 3.938 kB / 492.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1366, allocations: 8.062 kB / 492.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.1366, allocations: 11.84 kB / 492.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1367, allocations: 4 kB / 492.7 MB, free: 2.453 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.0001507/0.1368, allocations: 199.4 kB / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1369, allocations: 15.81 kB / 492.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.1369, allocations: 5.188 kB / 492.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1369, allocations: 0 / 492.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1369, allocations: 7.984 kB / 492.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1369, allocations: 0 / 492.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1371, allocations: 201.3 kB / 493.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1371, allocations: 4 kB / 493.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.1371, allocations: 0 / 493.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1371, allocations: 0 / 493.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1371, allocations: 8 kB / 493.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1371, allocations: 3.938 kB / 493.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1371, allocations: 3.984 kB / 493.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.1377, allocations: 0.5022 MB / 493.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.1377, allocations: 92.98 kB / 493.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1378, allocations: 4 kB / 493.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.1378, allocations: 7.984 kB / 493.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.1378, allocations: 4 kB / 493.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1378, allocations: 4 kB / 493.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.1379, allocations: 99.27 kB / 493.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1379, allocations: 3.938 kB / 493.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1382, allocations: 51.94 kB / 493.9 MB, free: 1.141 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.0008897/0.1391, allocations: 1.059 MB / 495 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.1398, allocations: 0.7024 MB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1398, allocations: 4 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.1402, allocations: 0.5618 MB / 496.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1405, allocations: 20 kB / 496.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.143, allocations: 2.475 MB / 498.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1433, allocations: 0.7198 MB / 499.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.1433, allocations: 4 kB / 499.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1434, allocations: 31.36 kB / 499.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1434, allocations: 0 / 499.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1671, allocations: 3.587 MB / 0.4913 GB, free: 7.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.722, allocations: 15.81 kB / 0.4913 GB, free: 7.734 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/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)