Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 104 kB / 17.59 MB, free: 5.559 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.001789/0.001789, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 330.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 57.08 kB / 399.5 MB, free: 33.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08824, allocations: 58.06 MB / 457.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003457/0.09173, allocations: 2.046 MB / 459.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.09254, allocations: 0.5298 MB / 460.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.0926, allocations: 0 / 460.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.09277, allocations: 7.922 kB / 460.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.09287, allocations: 27.83 kB / 460.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.09322, allocations: 67.83 kB / 460.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.09336, allocations: 63.72 kB / 460.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.09341, allocations: 7.984 kB / 460.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.0935, allocations: 27.91 kB / 460.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.09356, allocations: 31.84 kB / 460.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.09358, allocations: 3.938 kB / 460.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.09375, allocations: 71.84 kB / 460.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.09382, allocations: 43.84 kB / 460.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.09388, allocations: 47.56 kB / 460.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.09408, allocations: 143.7 kB / 460.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09409, allocations: 0 / 460.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.0941, allocations: 4 kB / 460.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.09411, allocations: 0 / 460.6 MB, free: 4.895 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004429/0.09456, allocations: 484.5 kB / 461.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.0946, allocations: 12.03 kB / 461.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.09467, allocations: 16.73 kB / 461.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.09484, allocations: 200.6 kB / 461.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.09486, allocations: 3.938 kB / 461.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.09488, allocations: 0 / 461.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.09505, allocations: 130.5 kB / 461.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.09506, allocations: 0 / 461.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.09508, allocations: 0 / 461.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.09509, allocations: 8 kB / 461.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.09519, allocations: 92.28 kB / 461.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.09537, allocations: 198 kB / 461.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.09551, allocations: 150.9 kB / 461.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.09563, allocations: 141.2 kB / 462 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.09565, allocations: 0 / 462 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.09568, allocations: 34.56 kB / 462.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.103e-06/0.09569, allocations: 7.938 kB / 462.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005126/0.0962, allocations: 471.6 kB / 462.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.09628, allocations: 109.1 kB / 462.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.09642, allocations: 148.5 kB / 462.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.09644, allocations: 25.7 kB / 462.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.09649, allocations: 96.78 kB / 462.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.0966, allocations: 137.9 kB / 463.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.09665, allocations: 29.7 kB / 463.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.09678, allocations: 342.8 kB / 463.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.09688, allocations: 91.97 kB / 463.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.09696, allocations: 88.95 kB / 463.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.09726, allocations: 372.3 kB / 464 MB, free: 1.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09727, allocations: 0 / 464 MB, free: 1.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003099/0.09759, allocations: 319.1 kB / 464.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.09768, allocations: 85.62 kB / 464.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.0977, allocations: 0 / 464.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.09772, allocations: 3.938 kB / 464.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.09772, allocations: 4.062 kB / 464.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.09773, allocations: 3.938 kB / 464.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.09779, allocations: 23.75 kB / 464.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.09782, allocations: 4 kB / 464.4 MB, free: 0.8672 MB / 334.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.000186/0.09801, allocations: 239.3 kB / 464.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.09804, allocations: 19.81 kB / 464.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.09807, allocations: 13.97 kB / 464.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.09807, allocations: 0 / 464.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.09808, allocations: 4 kB / 464.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.09809, allocations: 4 kB / 464.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.09825, allocations: 233.2 kB / 464.9 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.09826, allocations: 0 / 464.9 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.09827, allocations: 7.938 kB / 464.9 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.09828, allocations: 0 / 464.9 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.0983, allocations: 4 kB / 464.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0983, allocations: 0 / 464.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09831, allocations: 0 / 464.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.0992, allocations: 0.9043 MB / 465.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.09926, allocations: 104.7 kB / 465.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.0993, allocations: 7.984 kB / 465.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.09934, allocations: 8 kB / 465.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.09937, allocations: 0 / 465.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.09939, allocations: 8 kB / 465.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.068e-05/0.09946, allocations: 118.4 kB / 466 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09947, allocations: 0 / 466 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.09974, allocations: 64 kB / 466.1 MB, free: 15.04 MB / 350.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.0001685/0.09992, allocations: 119.3 kB / 466.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.1012, allocations: 1.589 MB / 467.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1012, allocations: 0 / 467.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.1022, allocations: 1.362 MB / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1024, allocations: 31.91 kB / 469.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.1033, allocations: 0.6588 MB / 469.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1037, allocations: 0.7472 MB / 470.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.1037, allocations: 7.438 kB / 470.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1037, allocations: 3.938 kB / 470.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004242/0.1079, allocations: 2.319 MB / 472.9 MB, free: 8.121 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)