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 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_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.001471/0.001472, allocations: 114.8 kB / 17.74 MB, free: 5.348 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.001593/0.001593, allocations: 188.5 kB / 18.67 MB, free: 4.426 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1839/0.1839, allocations: 38.04 MB / 330.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.88 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 58.05 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003304/0.3186, allocations: 2.052 MB / 0.5068 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.3194, allocations: 0.5215 MB / 0.5073 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.3195, allocations: 1.406 kB / 0.5073 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3196, allocations: 10.09 kB / 0.5073 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3198, allocations: 26.12 kB / 0.5073 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3202, allocations: 67 kB / 0.5074 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3204, allocations: 58.36 kB / 0.5074 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.3205, allocations: 8.391 kB / 0.5074 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.3206, allocations: 36.62 kB / 0.5075 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.3206, allocations: 24.59 kB / 0.5075 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3206, allocations: 1.344 kB / 0.5075 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3209, allocations: 78.08 kB / 0.5076 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.3209, allocations: 16.34 kB / 0.5076 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.321, allocations: 18.2 kB / 0.5076 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3212, allocations: 115.8 kB / 0.5077 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3212, allocations: 0 / 0.5077 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3212, allocations: 0.9688 kB / 0.5077 GB, free: 5.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3213, allocations: 0 / 0.5077 GB, free: 5.855 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003911/0.3216, allocations: 398.3 kB / 0.5081 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3217, allocations: 12.77 kB / 0.5081 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.3217, allocations: 12.19 kB / 0.5081 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3219, allocations: 181.4 kB / 0.5083 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3219, allocations: 1.188 kB / 0.5083 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3219, allocations: 5.281 kB / 0.5083 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3221, allocations: 67.62 kB / 0.5084 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3221, allocations: 0 / 0.5084 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3221, allocations: 1.031 kB / 0.5084 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3221, allocations: 0 / 0.5084 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.3222, allocations: 37.58 kB / 0.5084 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.3223, allocations: 163.5 kB / 0.5085 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.3224, allocations: 55.53 kB / 0.5086 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.3224, allocations: 52.12 kB / 0.5086 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.3225, allocations: 0 / 0.5086 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3225, allocations: 36.22 kB / 0.5087 GB, free: 4.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.3225, allocations: 4 kB / 0.5087 GB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002702/0.3228, allocations: 179.2 kB / 0.5089 GB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3228, allocations: 87.45 kB / 0.5089 GB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.3229, allocations: 123.3 kB / 0.5091 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3229, allocations: 27.34 kB / 0.5091 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.3229, allocations: 91.55 kB / 0.5092 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.323, allocations: 36.47 kB / 0.5092 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.323, allocations: 22.42 kB / 0.5092 GB, free: 4.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.3231, allocations: 324 kB / 0.5095 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.3231, allocations: 29.03 kB / 0.5096 GB, free: 4.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.3232, allocations: 28.91 kB / 0.5096 GB, free: 4.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3233, allocations: 159.3 kB / 0.5097 GB, free: 4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3233, allocations: 0 / 0.5097 GB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.3235, allocations: 149.2 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.3235, allocations: 45.61 kB / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3235, allocations: 2.188 kB / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3235, allocations: 0 / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3235, allocations: 0 / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3236, allocations: 6.125 kB / 0.5099 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.3236, allocations: 6.875 kB / 0.5099 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3236, allocations: 2.906 kB / 0.5099 GB, free: 3.879 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 8.978e-05/0.3237, allocations: 164.1 kB / 0.5101 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.3237, allocations: 13.72 kB / 0.5101 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.3238, allocations: 11.22 kB / 0.5101 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3238, allocations: 1.469 kB / 0.5101 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3238, allocations: 0 / 0.5101 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3238, allocations: 0 / 0.5101 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.553e-05/0.3239, allocations: 184.5 kB / 0.5103 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3239, allocations: 0 / 0.5103 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.3239, allocations: 4.938 kB / 0.5103 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3239, allocations: 0.8906 kB / 0.5103 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3239, allocations: 3.281 kB / 0.5103 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3239, allocations: 3.938 kB / 0.5103 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3239, allocations: 1.734 kB / 0.5103 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.3242, allocations: 275.2 kB / 0.5106 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.3242, allocations: 92.03 kB / 0.5107 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3243, allocations: 3.016 kB / 0.5107 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.3243, allocations: 2.312 kB / 0.5107 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.3243, allocations: 6.312 kB / 0.5107 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3243, allocations: 6.859 kB / 0.5107 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.3244, allocations: 94.42 kB / 0.5108 GB, free: 3.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3244, allocations: 0 / 0.5108 GB, free: 3.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3246, allocations: 28.61 kB / 0.5108 GB, free: 3.176 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.0001588/0.3248, allocations: 116.2 kB / 0.5109 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.3251, allocations: 300.2 kB / 0.5112 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3251, allocations: 0 / 0.5112 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3253, allocations: 219.7 kB / 0.5114 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.3256, allocations: 15.25 kB / 0.5114 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.326, allocations: 304.8 kB / 0.5117 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3262, allocations: 0.7023 MB / 0.5124 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.3262, allocations: 8.906 kB / 0.5124 GB, free: 1.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3262, allocations: 0 / 0.5124 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Templates: time 0.003224/0.3294, allocations: 1.255 MB / 0.5136 GB, free: 1.824 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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)