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: 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.001466/0.001466, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001426/0.001426, allocations: 191 kB / 18.63 MB, free: 4.375 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.46/1.46, allocations: 205.1 MB / 224.5 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.1772/0.1772, allocations: 37.98 MB / 309.8 MB, free: 5.984 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.001472/0.001472, allocations: 68.41 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002855/0.237, allocations: 2.044 MB / 434.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006059/0.2377, allocations: 0.5659 MB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.2377, allocations: 0 / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.2379, allocations: 11.92 kB / 434.7 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.238, allocations: 27.89 kB / 434.7 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2383, allocations: 67.8 kB / 434.7 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2384, allocations: 63.75 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.2385, allocations: 7.984 kB / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.2385, allocations: 31.84 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2386, allocations: 31.84 kB / 434.9 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.2386, allocations: 0 / 434.9 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2388, allocations: 67.91 kB / 434.9 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.2388, allocations: 19.86 kB / 435 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.2388, allocations: 15.88 kB / 435 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.239, allocations: 99.53 kB / 435.1 MB, free: 16.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.239, allocations: 4 kB / 435.1 MB, free: 16.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.239, allocations: 0 / 435.1 MB, free: 16.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.239, allocations: 0 / 435.1 MB, free: 16.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002783/0.2393, allocations: 388.6 kB / 435.5 MB, free: 16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2393, allocations: 11.89 kB / 435.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.2394, allocations: 12.83 kB / 435.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2395, allocations: 172.2 kB / 435.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.2395, allocations: 384 / 435.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2395, allocations: 4.125 kB / 435.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.2396, allocations: 65.61 kB / 435.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2396, allocations: 3.984 kB / 435.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2396, allocations: 0 / 435.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2396, allocations: 0 / 435.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.2397, allocations: 16 kB / 435.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.643e-05/0.2398, allocations: 165.6 kB / 435.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.2398, allocations: 42.58 kB / 435.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.2399, allocations: 36.81 kB / 436 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.2399, allocations: 7.938 kB / 436 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2399, allocations: 30.56 kB / 436 MB, free: 15.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2399, allocations: 0 / 436 MB, free: 15.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001895/0.2401, allocations: 143.3 kB / 436.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2401, allocations: 89.09 kB / 436.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.2402, allocations: 109.8 kB / 436.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.2402, allocations: 33.64 kB / 436.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.2402, allocations: 84.14 kB / 436.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.2403, allocations: 31.67 kB / 436.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2403, allocations: 13.72 kB / 436.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.2404, allocations: 322.8 kB / 436.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.2404, allocations: 19.92 kB / 436.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.2404, allocations: 20 kB / 436.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.2405, allocations: 128.5 kB / 437 MB, free: 14.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2405, allocations: 0 / 437 MB, free: 14.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.2406, allocations: 123.4 kB / 437.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.2407, allocations: 45.75 kB / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2407, allocations: 0 / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2407, allocations: 4 kB / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2407, allocations: 0 / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2407, allocations: 0 / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.2407, allocations: 4.312 kB / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.2408, allocations: 4 kB / 437.2 MB, free: 14.07 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 6.934e-05/0.2408, allocations: 171.3 kB / 437.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.2408, allocations: 7.906 kB / 437.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.065e-05/0.2409, allocations: 12.31 kB / 437.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.2409, allocations: 0 / 437.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2409, allocations: 0 / 437.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2409, allocations: 0 / 437.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.2409, allocations: 173.6 kB / 437.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.241, allocations: 4 kB / 437.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.241, allocations: 7.984 kB / 437.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.241, allocations: 0 / 437.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.241, allocations: 0 / 437.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.241, allocations: 0 / 437.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.241, allocations: 4 kB / 437.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.2412, allocations: 214.6 kB / 437.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.2412, allocations: 81.02 kB / 437.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2412, allocations: 4 kB / 437.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.2412, allocations: 0 / 437.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.2413, allocations: 3.984 kB / 437.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2413, allocations: 7.938 kB / 437.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.2413, allocations: 95.2 kB / 437.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2413, allocations: 0 / 437.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.2415, allocations: 32.03 kB / 438 MB, free: 13.16 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.0001373/0.2417, allocations: 111.2 kB / 438.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.2418, allocations: 195.3 kB / 438.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2418, allocations: 0 / 438.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.2419, allocations: 147.4 kB / 438.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.2421, allocations: 7.938 kB / 438.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.2424, allocations: 226.6 kB / 438.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2426, allocations: 0.6885 MB / 439.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.2426, allocations: 4 kB / 439.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-06/0.2426, allocations: 7.438 kB / 439.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2426, allocations: 0 / 439.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Templates: time 0.003652/0.2463, allocations: 1.063 MB / 440.4 MB, free: 10.65 MB / 318.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)