Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001747/0.001747, allocations: 192 kB / 18.62 MB, free: 4.41 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.428/1.428, 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.1768/0.1768, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001491/0.001491, allocations: 75.89 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2183, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002777/0.2211, allocations: 2.051 MB / 434.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006155/0.2217, allocations: 0.5659 MB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.2218, allocations: 3.938 kB / 434.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2219, allocations: 11.92 kB / 434.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.222, allocations: 23.91 kB / 434.7 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2223, allocations: 63.78 kB / 434.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2225, allocations: 59.83 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.2225, allocations: 4 kB / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.2226, allocations: 31.84 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.2227, allocations: 27.84 kB / 434.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.2227, allocations: 4 kB / 434.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.2228, allocations: 83.81 kB / 434.9 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.2229, allocations: 19.92 kB / 435 MB, free: 16.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2229, allocations: 31.69 kB / 435 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2231, allocations: 125.5 kB / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2231, allocations: 0 / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2231, allocations: 3.938 kB / 435.1 MB, free: 16.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2231, allocations: 0 / 435.1 MB, free: 16.37 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003245/0.2234, allocations: 442.2 kB / 435.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2235, allocations: 19.89 kB / 435.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.2235, allocations: 12.75 kB / 435.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2237, allocations: 184.2 kB / 435.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.2237, allocations: 384 / 435.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.2237, allocations: 4.125 kB / 435.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2238, allocations: 97.55 kB / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2238, allocations: 0 / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.2238, allocations: 0 / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2239, allocations: 0 / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.2239, allocations: 59.97 kB / 435.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.224, allocations: 181.5 kB / 436.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.795e-05/0.2241, allocations: 90.56 kB / 436.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.2242, allocations: 96.78 kB / 436.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.2242, allocations: 0 / 436.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2242, allocations: 38.5 kB / 436.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 8.82e-07/0.2242, allocations: 0 / 436.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003243/0.2245, allocations: 303.2 kB / 436.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2246, allocations: 101.1 kB / 436.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.2247, allocations: 133.8 kB / 436.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2247, allocations: 25.7 kB / 436.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.2247, allocations: 92.58 kB / 437 MB, free: 14.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.2248, allocations: 78.83 kB / 437 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.2248, allocations: 29.7 kB / 437.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.2249, allocations: 326.8 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.2249, allocations: 51.98 kB / 437.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.225, allocations: 63.91 kB / 437.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2251, allocations: 248.9 kB / 437.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2251, allocations: 0 / 437.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001582/0.2253, allocations: 226.9 kB / 438 MB, free: 13.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.2253, allocations: 61.67 kB / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2254, allocations: 4 kB / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2254, allocations: 3.984 kB / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.2254, allocations: 0 / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2254, allocations: 7.938 kB / 438 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.2254, allocations: 11.91 kB / 438 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2254, allocations: 11.98 kB / 438.1 MB, free: 13.16 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 0.0001047/0.2256, allocations: 203.4 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.2256, allocations: 15.81 kB / 438.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.2256, allocations: 5.188 kB / 438.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2256, allocations: 0 / 438.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2256, allocations: 7.938 kB / 438.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2256, allocations: 0 / 438.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.2257, allocations: 201.4 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.2257, allocations: 4 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2257, allocations: 4 kB / 438.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.2257, allocations: 0 / 438.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2257, allocations: 4 kB / 438.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2258, allocations: 3.938 kB / 438.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2258, allocations: 0 / 438.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.2261, allocations: 0.5022 MB / 439 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.2262, allocations: 92.86 kB / 439.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2262, allocations: 4 kB / 439.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.2262, allocations: 8.031 kB / 439.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.2262, allocations: 7.984 kB / 439.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.2263, allocations: 4 kB / 439.1 MB, free: 12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.741e-05/0.2263, allocations: 102.5 kB / 439.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2263, allocations: 0 / 439.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.2265, allocations: 48 kB / 439.3 MB, free: 11.86 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.2267, allocations: 115.2 kB / 439.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.2271, allocations: 0.7023 MB / 440.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2271, allocations: 4 kB / 440.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.2274, allocations: 0.5657 MB / 440.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2276, allocations: 19.94 kB / 440.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.2281, allocations: 424 kB / 441.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2282, allocations: 0.7239 MB / 441.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.2282, allocations: 8 kB / 441.8 MB, free: 9.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-06/0.2282, allocations: 7.438 kB / 441.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2282, allocations: 0 / 441.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Templates: time 0.004054/0.2323, allocations: 1.906 MB / 443.7 MB, free: 7.32 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)