Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.00113/0.00113, allocations: 101.6 kB / 17.05 MB, free: 6.129 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.001184, allocations: 195 kB / 18 MB, free: 5.203 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.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1705/0.1705, allocations: 37.98 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.001529/0.001529, allocations: 63.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1093, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004311/0.1136, allocations: 2.052 MB / 488.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.1146, allocations: 0.5542 MB / 489.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.1147, allocations: 8 kB / 489.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1149, allocations: 7.922 kB / 489.2 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1151, allocations: 31.84 kB / 489.3 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1156, allocations: 63.83 kB / 489.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1157, allocations: 67.7 kB / 489.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.1158, allocations: 0 / 489.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1159, allocations: 31.84 kB / 489.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.116, allocations: 27.91 kB / 489.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.116, allocations: 0 / 489.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.1162, allocations: 79.83 kB / 489.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1163, allocations: 47.78 kB / 489.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.1163, allocations: 39.56 kB / 489.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1166, allocations: 150.9 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1166, allocations: 0 / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1166, allocations: 0 / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1166, allocations: 4 kB / 489.8 MB, free: 5.656 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005569/0.1172, allocations: 476.8 kB / 490.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.1173, allocations: 19.83 kB / 490.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.1173, allocations: 46.67 kB / 490.3 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1174, allocations: 20.75 kB / 490.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1176, allocations: 200.3 kB / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1176, allocations: 4 kB / 490.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.1176, allocations: 0 / 490.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1178, allocations: 126.6 kB / 490.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1178, allocations: 0 / 490.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1179, allocations: 0 / 490.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1179, allocations: 0 / 490.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.118, allocations: 92.3 kB / 490.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1182, allocations: 217.9 kB / 490.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1183, allocations: 154.8 kB / 491.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1185, allocations: 137.2 kB / 491.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1185, allocations: 0 / 491.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1185, allocations: 30.56 kB / 491.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.222e-06/0.1185, allocations: 0 / 491.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007123/0.1192, allocations: 483.9 kB / 491.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1194, allocations: 113.1 kB / 491.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1195, allocations: 146.4 kB / 492 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1196, allocations: 29.7 kB / 492 MB, free: 3.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1197, allocations: 92.8 kB / 492.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1198, allocations: 126 kB / 492.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.1199, allocations: 37.7 kB / 492.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.12, allocations: 334.8 kB / 492.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1202, allocations: 91.97 kB / 492.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1203, allocations: 95.95 kB / 492.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1206, allocations: 361.4 kB / 493.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1206, allocations: 0 / 493.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003974/0.1211, allocations: 319.1 kB / 493.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1212, allocations: 89.62 kB / 493.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1212, allocations: 0 / 493.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1212, allocations: 0 / 493.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-06/0.1212, allocations: 3.938 kB / 493.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1212, allocations: 3.938 kB / 493.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.1213, allocations: 23.69 kB / 493.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.1214, allocations: 16.05 kB / 493.6 MB, free: 1.566 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.0002442/0.1216, allocations: 227.4 kB / 493.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1217, allocations: 23.81 kB / 493.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.1217, allocations: 13.95 kB / 493.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1217, allocations: 4 kB / 493.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.1217, allocations: 4 kB / 493.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1218, allocations: 0 / 493.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.122, allocations: 233.2 kB / 494.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.122, allocations: 0 / 494.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.122, allocations: 4 kB / 494.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.122, allocations: 0 / 494.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.122, allocations: 8 kB / 494.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.122, allocations: 0 / 494.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.122, allocations: 0 / 494.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.1229, allocations: 0.9081 MB / 495 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.123, allocations: 104.7 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.123, allocations: 4 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.123, allocations: 8.031 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.1231, allocations: 4 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1231, allocations: 8 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.1232, allocations: 119.9 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1232, allocations: 0 / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1234, allocations: 59.94 kB / 495.3 MB, free: 15.74 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 (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.00116/0.1246, allocations: 1.457 MB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.1258, allocations: 1.593 MB / 498.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1258, allocations: 0 / 498.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.1268, allocations: 1.362 MB / 499.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.127, allocations: 31.91 kB / 499.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.1303, allocations: 3.443 MB / 0.4914 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1306, allocations: 0.7517 MB / 0.4921 GB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.1306, allocations: 7.938 kB / 0.4921 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.1307, allocations: 39.42 kB / 0.4922 GB, free: 6.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1307, allocations: 3.938 kB / 0.4922 GB, free: 6.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.1506, allocations: 4.986 MB / 0.497 GB, free: 1.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.537, allocations: 11.88 kB / 0.497 GB, free: 1.824 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)