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 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_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.001429/0.001429, allocations: 113.8 kB / 17.74 MB, free: 5.336 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.001535/0.001535, allocations: 185.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1843/0.1843, allocations: 38.02 MB / 330.5 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 55.91 kB / 458.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 58.06 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002946/0.3014, allocations: 2.05 MB / 0.5068 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006207/0.3021, allocations: 0.5184 MB / 0.5073 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.3021, allocations: 1.219 kB / 0.5073 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3023, allocations: 13.91 kB / 0.5073 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.3024, allocations: 25.52 kB / 0.5073 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.3027, allocations: 68.06 kB / 0.5074 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3028, allocations: 58.17 kB / 0.5074 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3029, allocations: 7.516 kB / 0.5074 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.303, allocations: 32.81 kB / 0.5075 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.303, allocations: 24.95 kB / 0.5075 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.303, allocations: 1.438 kB / 0.5075 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3032, allocations: 82.3 kB / 0.5076 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.3032, allocations: 24.61 kB / 0.5076 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.3033, allocations: 33.12 kB / 0.5076 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3035, allocations: 120.9 kB / 0.5077 GB, free: 5.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3035, allocations: 6.031 kB / 0.5077 GB, free: 5.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3035, allocations: 0 / 0.5077 GB, free: 5.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3035, allocations: 0 / 0.5077 GB, free: 5.82 MB / 382.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.0003341/0.3039, allocations: 440 kB / 0.5082 GB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3039, allocations: 13.05 kB / 0.5082 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.304, allocations: 12.91 kB / 0.5082 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3041, allocations: 188.1 kB / 0.5084 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-06/0.3041, allocations: 384 / 0.5084 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3041, allocations: 5.969 kB / 0.5084 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3043, allocations: 95.98 kB / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3043, allocations: 0 / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3043, allocations: 0 / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3043, allocations: 1.188 kB / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.3044, allocations: 56.66 kB / 0.5085 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.3045, allocations: 183.1 kB / 0.5087 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.3046, allocations: 94.19 kB / 0.5088 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.3047, allocations: 90.36 kB / 0.5089 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.3047, allocations: 5.219 kB / 0.5089 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.3047, allocations: 35.22 kB / 0.5089 GB, free: 4.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 8.91e-07/0.3047, allocations: 5.156 kB / 0.5089 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003767/0.3051, allocations: 295.6 kB / 0.5092 GB, free: 4.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3051, allocations: 98.2 kB / 0.5093 GB, free: 4.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.3052, allocations: 136.8 kB / 0.5094 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.3052, allocations: 25.7 kB / 0.5094 GB, free: 4.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.3053, allocations: 97.73 kB / 0.5095 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.3053, allocations: 84.09 kB / 0.5096 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3054, allocations: 26.5 kB / 0.5096 GB, free: 4.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.3054, allocations: 327.7 kB / 0.51 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.3055, allocations: 56.47 kB / 0.51 GB, free: 3.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.3056, allocations: 56.61 kB / 0.5101 GB, free: 3.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3058, allocations: 251.6 kB / 0.5103 GB, free: 3.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3058, allocations: 0 / 0.5103 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002062/0.306, allocations: 227.1 kB / 0.5105 GB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.3061, allocations: 68.34 kB / 0.5106 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3061, allocations: 3.938 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3061, allocations: 1 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.3061, allocations: 0.7031 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3061, allocations: 1.188 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.3062, allocations: 12.41 kB / 0.5106 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3062, allocations: 5.953 kB / 0.5106 GB, free: 3.629 MB / 382.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.0001194/0.3063, allocations: 198 kB / 0.5108 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3063, allocations: 12.84 kB / 0.5108 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.3064, allocations: 15.14 kB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3064, allocations: 0.7969 kB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3064, allocations: 0 / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.3064, allocations: 0.9062 kB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3065, allocations: 204 kB / 0.511 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3065, allocations: 0 / 0.511 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-06/0.3065, allocations: 4.5 kB / 0.511 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3065, allocations: 1.062 kB / 0.511 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3065, allocations: 3.562 kB / 0.511 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3065, allocations: 1.578 kB / 0.511 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3065, allocations: 0 / 0.511 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.3071, allocations: 0.5072 MB / 0.5115 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.3071, allocations: 86.14 kB / 0.5116 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.3071, allocations: 3.375 kB / 0.5116 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.3072, allocations: 5.234 kB / 0.5116 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.3072, allocations: 6.125 kB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3072, allocations: 5.312 kB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.3073, allocations: 103.9 kB / 0.5117 GB, free: 2.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3073, allocations: 4.031 kB / 0.5117 GB, free: 2.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3075, allocations: 45.83 kB / 0.5118 GB, free: 2.871 MB / 382.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.0001526/0.3077, allocations: 118 kB / 0.5119 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000613/0.3083, allocations: 0.7057 MB / 0.5126 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3083, allocations: 3.938 kB / 0.5126 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.3087, allocations: 0.568 MB / 0.5131 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.309, allocations: 34.27 kB / 0.5132 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.3096, allocations: 460.3 kB / 0.5136 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.3097, allocations: 0.7239 MB / 0.5143 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.3097, allocations: 13.34 kB / 0.5143 GB, free: 1.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3097, allocations: 0 / 0.5143 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Templates: time 0.003621/0.3134, allocations: 1.716 MB / 0.516 GB, free: 1.039 MB / 382.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)