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.00131/0.001314, allocations: 111.5 kB / 17.06 MB, free: 6 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.001239/0.001239, allocations: 200 kB / 18 MB, free: 5.078 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.438/1.438, 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.1767/0.1767, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001409/0.001409, allocations: 63.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 55.25 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004285/0.1221, allocations: 2.04 MB / 488.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.1231, allocations: 0.5698 MB / 489.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1232, allocations: 0 / 489.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1234, allocations: 7.922 kB / 489.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1235, allocations: 31.83 kB / 489.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1239, allocations: 63.84 kB / 489.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.124, allocations: 71.69 kB / 489.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1241, allocations: 8 kB / 489.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.1242, allocations: 23.91 kB / 489.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.1243, allocations: 35.84 kB / 489.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1243, allocations: 0 / 489.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.1245, allocations: 71.84 kB / 489.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1245, allocations: 19.86 kB / 489.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1246, allocations: 19.86 kB / 489.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1248, allocations: 95.19 kB / 489.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1248, allocations: 3.938 kB / 489.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1248, allocations: 0 / 489.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1248, allocations: 0 / 489.7 MB, free: 5.758 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.0004412/0.1253, allocations: 385.3 kB / 490 MB, free: 5.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1253, allocations: 15.89 kB / 490.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.1254, allocations: 30.75 kB / 490.1 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1254, allocations: 8.938 kB / 490.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1256, allocations: 180.2 kB / 490.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1256, allocations: 384 / 490.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1256, allocations: 7.938 kB / 490.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1258, allocations: 53.67 kB / 490.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1258, allocations: 4 kB / 490.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1258, allocations: 0 / 490.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1258, allocations: 0 / 490.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.1258, allocations: 19.98 kB / 490.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.126, allocations: 165.6 kB / 490.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.1261, allocations: 50.44 kB / 490.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1261, allocations: 32.88 kB / 490.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.1262, allocations: 0 / 490.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1262, allocations: 38.56 kB / 490.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.1262, allocations: 0 / 490.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000252/0.1265, allocations: 139.3 kB / 490.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.1265, allocations: 81.11 kB / 490.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.1266, allocations: 121.8 kB / 491 MB, free: 4.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1267, allocations: 25.7 kB / 491 MB, free: 4.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.1267, allocations: 84.52 kB / 491.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1268, allocations: 27.5 kB / 491.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1268, allocations: 25.73 kB / 491.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.127, allocations: 318.8 kB / 491.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.127, allocations: 23.92 kB / 491.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.127, allocations: 19.98 kB / 491.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1272, allocations: 120.2 kB / 491.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1272, allocations: 7.938 kB / 491.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000159/0.1273, allocations: 123.5 kB / 491.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.1274, allocations: 45.67 kB / 491.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1274, allocations: 64 / 491.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1274, allocations: 4 kB / 491.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1274, allocations: 0 / 491.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1274, allocations: 0 / 491.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.1275, allocations: 7.906 kB / 491.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1275, allocations: 3.984 kB / 491.8 MB, free: 3.355 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.0001256/0.1276, allocations: 159.5 kB / 492 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.1277, allocations: 7.906 kB / 492 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.39e-05/0.1277, allocations: 8.359 kB / 492 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1277, allocations: 0 / 492 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1277, allocations: 8 kB / 492 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1277, allocations: 0 / 492 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1278, allocations: 173.5 kB / 492.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1278, allocations: 0 / 492.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1278, allocations: 0 / 492.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1279, allocations: 0 / 492.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1279, allocations: 4 kB / 492.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1279, allocations: 0 / 492.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1279, allocations: 0 / 492.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1281, allocations: 226.8 kB / 492.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1282, allocations: 77.11 kB / 492.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1282, allocations: 4 kB / 492.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.1282, allocations: 0 / 492.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1283, allocations: 4 kB / 492.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1283, allocations: 0 / 492.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.1284, allocations: 91.27 kB / 492.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1284, allocations: 0 / 492.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1286, allocations: 32.22 kB / 492.6 MB, free: 2.469 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.0006521/0.1293, allocations: 0.7739 MB / 493.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1296, allocations: 195.3 kB / 493.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1296, allocations: 0 / 493.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1297, allocations: 147.4 kB / 493.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.13, allocations: 20.06 kB / 493.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1316, allocations: 1.538 MB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1319, allocations: 0.7 MB / 495.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.1319, allocations: 0 / 495.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.132, allocations: 15.44 kB / 496 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.132, allocations: 0 / 496 MB, free: 14.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.1519, allocations: 2.17 MB / 498.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.869, allocations: 16 kB / 498.1 MB, free: 12.68 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)