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.00122/0.00122, allocations: 93.52 kB / 16.3 MB, free: 6.457 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.001176/0.001177, allocations: 185.5 kB / 17.2 MB, free: 6.34 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.561/1.561, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1687/0.1687, allocations: 38.03 MB / 309.7 MB, free: 6.137 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.0005158/0.0005162, allocations: 23.11 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3045, allocations: 56.32 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002341/0.3069, allocations: 1.702 MB / 434.5 MB, free: 17.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.3078, allocations: 0.5352 MB / 435 MB, free: 16.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.3079, allocations: 0 / 435 MB, free: 16.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.3081, allocations: 11.92 kB / 435 MB, free: 16.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3082, allocations: 19.91 kB / 435.1 MB, free: 16.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3085, allocations: 47.88 kB / 435.1 MB, free: 16.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.3086, allocations: 31.94 kB / 435.1 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.3087, allocations: 11.98 kB / 435.2 MB, free: 16.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.3088, allocations: 11.94 kB / 435.2 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3088, allocations: 27.84 kB / 435.2 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3088, allocations: 0 / 435.2 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.309, allocations: 39.89 kB / 435.2 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.309, allocations: 15.98 kB / 435.3 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.3091, allocations: 33.64 kB / 435.3 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3092, allocations: 61.88 kB / 435.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3092, allocations: 0 / 435.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3092, allocations: 0 / 435.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3092, allocations: 4 kB / 435.3 MB, free: 16.29 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.0003569/0.3096, allocations: 396.7 kB / 435.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3096, allocations: 12.03 kB / 435.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.3097, allocations: 11.86 kB / 435.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3099, allocations: 178.8 kB / 435.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3099, allocations: 0 / 435.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3099, allocations: 4 kB / 435.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.31, allocations: 53.69 kB / 436 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3101, allocations: 3.984 kB / 436 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3101, allocations: 8 kB / 436 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3101, allocations: 0 / 436 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.3101, allocations: 27.98 kB / 436 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.3103, allocations: 165.6 kB / 436.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.3104, allocations: 58.5 kB / 436.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.3104, allocations: 3.984 kB / 436.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.3104, allocations: 38.59 kB / 436.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.3104, allocations: 4 kB / 436.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003015/0.3107, allocations: 260.5 kB / 436.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3108, allocations: 85.11 kB / 436.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.3108, allocations: 125.4 kB / 436.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.3109, allocations: 25.7 kB / 436.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.3109, allocations: 88.14 kB / 436.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3109, allocations: 39.44 kB / 436.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.311, allocations: 0 / 436.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.144e-05/0.311, allocations: 330.8 kB / 437.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.3111, allocations: 31.92 kB / 437.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.3111, allocations: 31.98 kB / 437.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.3112, allocations: 77.67 kB / 437.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3112, allocations: 0 / 437.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001279/0.3113, allocations: 139.2 kB / 437.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.3114, allocations: 53.67 kB / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3114, allocations: 0 / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3114, allocations: 0 / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3114, allocations: 0 / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3114, allocations: 4 kB / 437.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.3114, allocations: 15.84 kB / 437.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3115, allocations: 4 kB / 437.6 MB, free: 13.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3116, allocations: 167.5 kB / 437.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3116, allocations: 7.906 kB / 437.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.3116, allocations: 8.359 kB / 437.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3116, allocations: 4 kB / 437.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3116, allocations: 0 / 437.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3117, allocations: 3.938 kB / 437.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.682e-05/0.3118, allocations: 181.6 kB / 437.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3118, allocations: 0 / 437.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.3118, allocations: 0 / 437.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3118, allocations: 0 / 437.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3118, allocations: 4 kB / 437.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3118, allocations: 0 / 437.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3118, allocations: 0 / 437.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.312, allocations: 278.5 kB / 438.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3121, allocations: 88.94 kB / 438.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3121, allocations: 8.031 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.3121, allocations: 0 / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.3121, allocations: 4 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3122, allocations: 0 / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.3122, allocations: 98.33 kB / 438.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3122, allocations: 0 / 438.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.3124, allocations: 28 kB / 438.4 MB, free: 12.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.3126, allocations: 119.2 kB / 438.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3128, allocations: 287.3 kB / 438.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3129, allocations: 0 / 438.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.313, allocations: 223.3 kB / 439.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.3132, allocations: 11.97 kB / 439.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.3136, allocations: 296.9 kB / 439.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.3138, allocations: 0.7004 MB / 440.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.3138, allocations: 4 kB / 440.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.3139, allocations: 11.38 kB / 440.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3139, allocations: 0 / 440.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Templates: time 0.004175/0.318, allocations: 1.167 MB / 441.2 MB, free: 9.949 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) Environment - environmentSimulation: