Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.00124/0.00124, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.218/1.218, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1868/0.1868, allocations: 37.97 MB / 309.8 MB, free: 5.98 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.001349/0.001349, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08299, allocations: 55.24 MB / 487.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002975/0.086, allocations: 2.157 MB / 489.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.08738, allocations: 1.111 MB / 491 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.08743, allocations: 0 / 491 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.08756, allocations: 15.91 kB / 491 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.08767, allocations: 51.78 kB / 491.1 MB, free: 4.984 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.08844, allocations: 283.2 kB / 491.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.0886, allocations: 119.6 kB / 491.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.08864, allocations: 3.938 kB / 491.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.08873, allocations: 51.81 kB / 491.5 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.08882, allocations: 67.73 kB / 491.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.08884, allocations: 4 kB / 491.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.08938, allocations: 419.1 kB / 492 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.08944, allocations: 35.89 kB / 492 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.0895, allocations: 43.72 kB / 492.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.09002, allocations: 0.5105 MB / 492.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.09003, allocations: 0 / 492.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09004, allocations: 0 / 492.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09005, allocations: 0 / 492.6 MB, free: 3.465 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004333/0.09049, allocations: 464.7 kB / 493 MB, free: 2.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.09052, allocations: 15.88 kB / 493 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.09057, allocations: 12.75 kB / 493.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.09073, allocations: 192.2 kB / 493.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.09074, allocations: 384 / 493.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.09076, allocations: 4.125 kB / 493.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.09091, allocations: 97.59 kB / 493.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.09093, allocations: 0 / 493.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.09094, allocations: 3.938 kB / 493.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.09095, allocations: 0 / 493.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.09103, allocations: 59.97 kB / 493.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.09118, allocations: 181.5 kB / 493.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.09131, allocations: 130.5 kB / 493.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.09142, allocations: 120.8 kB / 493.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.09143, allocations: 4 kB / 493.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.09145, allocations: 34.5 kB / 493.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.09146, allocations: 0 / 493.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000399/0.09186, allocations: 295.4 kB / 494.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.09192, allocations: 93.09 kB / 494.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.09202, allocations: 137.8 kB / 494.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.09205, allocations: 29.7 kB / 494.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.09209, allocations: 88.47 kB / 494.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.09215, allocations: 74.92 kB / 494.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.0922, allocations: 25.72 kB / 494.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.09231, allocations: 322.8 kB / 494.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.09239, allocations: 59.95 kB / 495 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.09246, allocations: 55.97 kB / 495 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.09267, allocations: 236.1 kB / 495.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09267, allocations: 0 / 495.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002383/0.09292, allocations: 219.7 kB / 495.5 MB, free: 316 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.09298, allocations: 61.66 kB / 495.5 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.09299, allocations: 4 kB / 495.5 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.09301, allocations: 0 / 495.5 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.09302, allocations: 0 / 495.5 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09303, allocations: 0 / 495.5 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.09308, allocations: 4 kB / 495.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.09311, allocations: 15.98 kB / 495.6 MB, free: 224 kB / 366.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.0001172/0.09323, allocations: 183.5 kB / 495.7 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.09327, allocations: 15.81 kB / 495.7 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.0933, allocations: 13.23 kB / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.09331, allocations: 0 / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.09332, allocations: 0 / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.09332, allocations: 0 / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.09346, allocations: 201.3 kB / 496 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.09347, allocations: 11.92 kB / 496 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.09347, allocations: 0 / 496 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.09348, allocations: 4 kB / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.0935, allocations: 4 kB / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.0935, allocations: 0 / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.09351, allocations: 0 / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.09393, allocations: 390.4 kB / 496.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.09398, allocations: 88.86 kB / 496.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.09401, allocations: 7.984 kB / 496.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.09405, allocations: 4 kB / 496.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.09408, allocations: 8.031 kB / 496.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.09409, allocations: 4 kB / 496.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.09416, allocations: 103.3 kB / 496.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09417, allocations: 0 / 496.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.09454, allocations: 128 kB / 496.7 MB, free: 14.97 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.0003581/0.09491, allocations: 195.1 kB / 496.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.0954, allocations: 0.5656 MB / 497.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.09542, allocations: 4.062 kB / 497.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.09574, allocations: 471.2 kB / 497.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.09594, allocations: 19.92 kB / 497.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.09647, allocations: 418.4 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.09671, allocations: 0.7235 MB / 499.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.09672, allocations: 7.438 kB / 499.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09673, allocations: 0 / 499.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.004555/0.1013, allocations: 3.096 MB / 0.4904 GB, free: 9.395 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1)