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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 109.7 kB / 17.28 MB, free: 6.059 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.002781/0.002781, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.915/2.915, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4441/0.4441, allocations: 38.02 MB / 330.1 MB, free: 8.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 69.23 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2142, allocations: 58.06 MB / 457 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.006642/0.2209, allocations: 2.085 MB / 459.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2224, allocations: 0.526 MB / 459.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.2225, allocations: 0 / 459.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.2229, allocations: 11.92 kB / 459.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.223, allocations: 27.84 kB / 459.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.2235, allocations: 63.84 kB / 459.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.2237, allocations: 59.77 kB / 459.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.2238, allocations: 8 kB / 459.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.224, allocations: 31.84 kB / 459.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.2241, allocations: 31.84 kB / 459.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2241, allocations: 0 / 459.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.2244, allocations: 83.81 kB / 459.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.2245, allocations: 7.938 kB / 459.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2246, allocations: 15.86 kB / 459.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.2248, allocations: 76.12 kB / 460 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2248, allocations: 0 / 460 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2249, allocations: 0 / 460 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2249, allocations: 0 / 460 MB, free: 5.355 MB / 334.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.0006624/0.2256, allocations: 385 kB / 460.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.2256, allocations: 11.89 kB / 460.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.2257, allocations: 8.922 kB / 460.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.226, allocations: 172.2 kB / 460.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.226, allocations: 4.375 kB / 460.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.2261, allocations: 8.125 kB / 460.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2263, allocations: 49.67 kB / 460.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2263, allocations: 0 / 460.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2264, allocations: 3.938 kB / 460.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2264, allocations: 8 kB / 460.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.2265, allocations: 19.98 kB / 460.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.2267, allocations: 165.6 kB / 460.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.2269, allocations: 38.58 kB / 460.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.227, allocations: 36.81 kB / 460.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.227, allocations: 4 kB / 460.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2271, allocations: 34.56 kB / 460.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.2271, allocations: 0 / 460.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004519/0.2276, allocations: 151.3 kB / 461.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.2277, allocations: 89.09 kB / 461.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2279, allocations: 113.8 kB / 461.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2279, allocations: 25.7 kB / 461.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.228, allocations: 84.14 kB / 461.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.2281, allocations: 31.55 kB / 461.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.2282, allocations: 21.72 kB / 461.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.2285, allocations: 318.9 kB / 461.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.2286, allocations: 23.98 kB / 461.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.805e-05/0.2286, allocations: 16 kB / 461.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.2289, allocations: 136.5 kB / 461.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2289, allocations: 0 / 461.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002719/0.2292, allocations: 115.3 kB / 462.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.2293, allocations: 45.69 kB / 462.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2293, allocations: 0 / 462.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.2294, allocations: 0 / 462.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-06/0.2294, allocations: 4.062 kB / 462.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2294, allocations: 0 / 462.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.2295, allocations: 7.906 kB / 462.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2295, allocations: 3.938 kB / 462.1 MB, free: 2.996 MB / 334.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.0002163/0.2297, allocations: 159.5 kB / 462.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2298, allocations: 4 kB / 462.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2298, allocations: 8.375 kB / 462.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2298, allocations: 0 / 462.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2299, allocations: 4 kB / 462.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2299, allocations: 4 kB / 462.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2301, allocations: 169.5 kB / 462.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2301, allocations: 0 / 462.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-06/0.2302, allocations: 7.922 kB / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2302, allocations: 0 / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2302, allocations: 4 kB / 462.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.2302, allocations: 4 kB / 462.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2302, allocations: 0 / 462.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.2307, allocations: 214.7 kB / 462.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.2308, allocations: 81.02 kB / 462.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.2309, allocations: 4 kB / 462.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.2309, allocations: 0 / 462.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.231, allocations: 11.98 kB / 462.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.231, allocations: 0 / 462.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.2311, allocations: 95.58 kB / 462.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2311, allocations: 0 / 462.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000426/0.2316, allocations: 31.94 kB / 462.9 MB, free: 2.098 MB / 334.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.0003434/0.2319, allocations: 111.3 kB / 463 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.2325, allocations: 199.3 kB / 463.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2325, allocations: 0 / 463.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.2327, allocations: 147.4 kB / 463.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.2333, allocations: 11.94 kB / 463.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/0.2342, allocations: 252.5 kB / 463.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.2348, allocations: 0.6962 MB / 464.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.2348, allocations: 7.438 kB / 464.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of SimCode: time 6.131e-06/0.2348, allocations: 0 / 464.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Templates: time 0.00569/0.2405, allocations: 1.1 MB / 465.4 MB, free: 15.5 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)