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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 114.1 kB / 17.69 MB, free: 5.312 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.00185/0.00185, allocations: 191 kB / 18.63 MB, free: 4.379 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.421/1.421, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1789/0.1789, allocations: 37.99 MB / 309.8 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.00146/0.00146, allocations: 63.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2208, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003334/0.2242, allocations: 2.055 MB / 434.1 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.2248, allocations: 0.5542 MB / 434.6 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.2249, allocations: 3.938 kB / 434.6 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.225, allocations: 11.92 kB / 434.6 MB, free: 17.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2251, allocations: 31.89 kB / 434.7 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.2254, allocations: 63.78 kB / 434.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2256, allocations: 63.75 kB / 434.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.2256, allocations: 8 kB / 434.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.2257, allocations: 27.86 kB / 434.8 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.2257, allocations: 23.91 kB / 434.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2257, allocations: 4 kB / 434.9 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2259, allocations: 75.83 kB / 434.9 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.2259, allocations: 15.92 kB / 435 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.226, allocations: 27.81 kB / 435 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2261, allocations: 105.6 kB / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2261, allocations: 7.922 kB / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2261, allocations: 0 / 435.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.2261, allocations: 0 / 435.1 MB, free: 16.57 MB / 318.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.0003127/0.2265, allocations: 398.6 kB / 435.5 MB, free: 16.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2265, allocations: 15.89 kB / 435.5 MB, free: 16.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2265, allocations: 8.844 kB / 435.5 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2267, allocations: 180.2 kB / 435.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2267, allocations: 4.375 kB / 435.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2267, allocations: 8.125 kB / 435.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2268, allocations: 57.62 kB / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2268, allocations: 4 kB / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2268, allocations: 0 / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2268, allocations: 0 / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.496e-05/0.2269, allocations: 35.86 kB / 435.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.647e-05/0.227, allocations: 161.7 kB / 435.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.2271, allocations: 58.56 kB / 436 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.2271, allocations: 44.83 kB / 436 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/0.2271, allocations: 3.984 kB / 436.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2271, allocations: 38.56 kB / 436.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.2271, allocations: 0 / 436.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002119/0.2273, allocations: 179.2 kB / 436.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2274, allocations: 93.09 kB / 436.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.2275, allocations: 121.6 kB / 436.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2275, allocations: 29.73 kB / 436.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.2275, allocations: 92.12 kB / 436.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.2275, allocations: 39.44 kB / 436.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.2276, allocations: 21.72 kB / 436.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.2276, allocations: 318.8 kB / 437 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.2277, allocations: 31.98 kB / 437 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.2277, allocations: 27.98 kB / 437 MB, free: 14.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.119e-05/0.2278, allocations: 152.2 kB / 437.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2278, allocations: 7.969 kB / 437.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000115/0.2279, allocations: 147.2 kB / 437.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.228, allocations: 45.69 kB / 437.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.228, allocations: 3.984 kB / 437.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.228, allocations: 0 / 437.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.228, allocations: 3.938 kB / 437.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.228, allocations: 0 / 437.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.228, allocations: 11.84 kB / 437.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2281, allocations: 8 kB / 437.4 MB, free: 14 MB / 318.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 7.822e-05/0.2281, allocations: 171.5 kB / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.2282, allocations: 11.84 kB / 437.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.225e-05/0.2282, allocations: 12.38 kB / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2282, allocations: 0 / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2282, allocations: 4 kB / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2282, allocations: 0 / 437.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.036e-05/0.2283, allocations: 173.6 kB / 437.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2283, allocations: 0 / 437.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.2283, allocations: 0 / 437.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2283, allocations: 0 / 437.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2283, allocations: 4 kB / 437.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2283, allocations: 4 kB / 437.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2283, allocations: 3.938 kB / 437.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2286, allocations: 278.6 kB / 438 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.2286, allocations: 92.95 kB / 438.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2286, allocations: 3.938 kB / 438.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.2286, allocations: 4 kB / 438.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.2287, allocations: 0 / 438.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.2287, allocations: 11.97 kB / 438.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.2287, allocations: 98.77 kB / 438.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2287, allocations: 0 / 438.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.229, allocations: 32 kB / 438.3 MB, free: 13.01 MB / 318.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.0001401/0.2291, allocations: 107.2 kB / 438.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2294, allocations: 295.2 kB / 438.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2294, allocations: 0 / 438.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2295, allocations: 219.3 kB / 438.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2297, allocations: 16.06 kB / 438.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.2301, allocations: 274.9 kB / 439.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2303, allocations: 0.704 MB / 439.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.2303, allocations: 0 / 439.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.2303, allocations: 7.438 kB / 439.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2303, allocations: 0 / 439.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Templates: time 0.003501/0.2338, allocations: 1.304 MB / 441.2 MB, free: 10.02 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)