Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001236/0.001236, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001311/0.001312, allocations: 191 kB / 18 MB, free: 5.105 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.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1854/0.1854, allocations: 37.98 MB / 309.2 MB, free: 5.973 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.00169/0.00169, allocations: 63.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 55.25 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004788/0.1381, allocations: 2.032 MB / 488.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1393, allocations: 0.5659 MB / 489.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.1395, allocations: 3.938 kB / 489.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1397, allocations: 11.92 kB / 489.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1399, allocations: 23.91 kB / 489.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.1404, allocations: 63.78 kB / 489.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1406, allocations: 71.77 kB / 489.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.1407, allocations: 3.984 kB / 489.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1408, allocations: 35.78 kB / 489.4 MB, free: 6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.1409, allocations: 23.91 kB / 489.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1409, allocations: 0 / 489.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.1412, allocations: 79.81 kB / 489.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.1413, allocations: 27.92 kB / 489.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1413, allocations: 15.81 kB / 489.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1416, allocations: 106.5 kB / 489.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1416, allocations: 0 / 489.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.1417, allocations: 4 kB / 489.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1417, allocations: 3.938 kB / 489.7 MB, free: 5.746 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005766/0.1422, allocations: 397.8 kB / 490.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1423, allocations: 11.89 kB / 490.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1424, allocations: 38.75 kB / 490.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1424, allocations: 8.844 kB / 490.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1427, allocations: 176.2 kB / 490.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1427, allocations: 384 / 490.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1427, allocations: 7.938 kB / 490.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1429, allocations: 69.61 kB / 490.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1429, allocations: 4 kB / 490.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1429, allocations: 0 / 490.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1429, allocations: 3.938 kB / 490.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.143, allocations: 27.98 kB / 490.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.1432, allocations: 165.5 kB / 490.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.1433, allocations: 58.5 kB / 490.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1434, allocations: 44.88 kB / 490.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.1434, allocations: 4 kB / 490.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.1435, allocations: 34.56 kB / 490.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.1435, allocations: 0 / 490.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004264/0.1439, allocations: 183.2 kB / 490.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.144, allocations: 85.11 kB / 491 MB, free: 4.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1441, allocations: 122 kB / 491.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1442, allocations: 29.64 kB / 491.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1442, allocations: 88.17 kB / 491.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.1443, allocations: 39.45 kB / 491.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.1444, allocations: 25.7 kB / 491.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1446, allocations: 314.8 kB / 491.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.1447, allocations: 31.98 kB / 491.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.1447, allocations: 27.98 kB / 491.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1449, allocations: 157 kB / 491.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1449, allocations: 0 / 491.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002188/0.1451, allocations: 147.2 kB / 491.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.1452, allocations: 53.73 kB / 492 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1452, allocations: 3.938 kB / 492 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1453, allocations: 0 / 492 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-06/0.1453, allocations: 0 / 492 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1453, allocations: 3.938 kB / 492 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.1453, allocations: 7.938 kB / 492 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1454, allocations: 4 kB / 492 MB, free: 3.145 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.0001857/0.1456, allocations: 167.5 kB / 492.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1456, allocations: 7.906 kB / 492.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.1456, allocations: 20.36 kB / 492.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1457, allocations: 0 / 492.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1457, allocations: 0 / 492.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1457, allocations: 0 / 492.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.1459, allocations: 181.5 kB / 492.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1459, allocations: 0 / 492.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.1459, allocations: 0 / 492.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.1459, allocations: 0 / 492.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.146, allocations: 4 kB / 492.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.146, allocations: 3.938 kB / 492.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.146, allocations: 0 / 492.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.1464, allocations: 282.5 kB / 492.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1465, allocations: 88.95 kB / 492.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1466, allocations: 3.984 kB / 492.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.1466, allocations: 4 kB / 492.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1466, allocations: 4 kB / 492.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1466, allocations: 4 kB / 492.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.1467, allocations: 99.2 kB / 492.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1468, allocations: 4.031 kB / 492.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1471, allocations: 32 kB / 492.9 MB, free: 2.148 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.0009263/0.148, allocations: 0.817 MB / 493.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.1485, allocations: 295.3 kB / 494 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1485, allocations: 0 / 494 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.1487, allocations: 223.4 kB / 494.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1492, allocations: 15.89 kB / 494.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1516, allocations: 1.766 MB / 496 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1519, allocations: 0.7003 MB / 496.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.152, allocations: 7.938 kB / 496.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.152, allocations: 23.42 kB / 496.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.152, allocations: 0 / 496.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1771, allocations: 2.548 MB / 499.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.927, allocations: 19.81 kB / 499.3 MB, free: 11.52 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)