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 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.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.001884/0.001884, allocations: 109.4 kB / 17.28 MB, free: 6.199 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.002532/0.002532, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.832/2.832, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4709/0.4709, allocations: 38.02 MB / 330 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002945/0.002945, allocations: 65.88 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2042, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.007488/0.2118, allocations: 2.198 MB / 459.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.215, allocations: 1.06 MB / 460.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2152, allocations: 3.938 kB / 460.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2156, allocations: 15.91 kB / 460.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.2159, allocations: 51.8 kB / 460.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2178, allocations: 267.4 kB / 460.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.2182, allocations: 119.6 kB / 460.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2183, allocations: 4 kB / 460.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2185, allocations: 51.81 kB / 460.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2188, allocations: 71.73 kB / 460.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.2188, allocations: 4 kB / 460.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.2201, allocations: 415.1 kB / 461.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2203, allocations: 31.91 kB / 461.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2204, allocations: 51.61 kB / 461.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.2214, allocations: 399.5 kB / 461.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2214, allocations: 0 / 461.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2214, allocations: 0 / 461.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.2214, allocations: 4 kB / 461.7 MB, free: 3.688 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001064/0.2225, allocations: 456.8 kB / 462.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.58e-05/0.2226, allocations: 11.89 kB / 462.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.2227, allocations: 12.75 kB / 462.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2231, allocations: 192.2 kB / 462.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2231, allocations: 4.375 kB / 462.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2232, allocations: 8.125 kB / 462.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.2235, allocations: 100.3 kB / 462.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2235, allocations: 0 / 462.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2235, allocations: 0 / 462.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2236, allocations: 0 / 462.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2237, allocations: 67.94 kB / 462.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.224, allocations: 177.5 kB / 462.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2243, allocations: 130.5 kB / 462.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.2245, allocations: 128.8 kB / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2245, allocations: 0 / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.2246, allocations: 34.5 kB / 463 MB, free: 2.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.2246, allocations: 0 / 463 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007982/0.2254, allocations: 287.5 kB / 463.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2255, allocations: 97.09 kB / 463.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2257, allocations: 127.9 kB / 463.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2258, allocations: 33.73 kB / 463.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.226, allocations: 96.45 kB / 463.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2261, allocations: 63.02 kB / 463.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2262, allocations: 25.7 kB / 463.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2264, allocations: 322.8 kB / 464 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.2266, allocations: 55.97 kB / 464.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2267, allocations: 55.97 kB / 464.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.2272, allocations: 239.3 kB / 464.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2272, allocations: 4.031 kB / 464.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004271/0.2277, allocations: 223 kB / 464.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/0.2278, allocations: 57.67 kB / 464.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2278, allocations: 0 / 464.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2278, allocations: 0 / 464.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.2278, allocations: 0 / 464.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2278, allocations: 0 / 464.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.228, allocations: 7.938 kB / 464.7 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.228, allocations: 12 kB / 464.7 MB, free: 472 kB / 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.000322/0.2284, allocations: 183.5 kB / 464.9 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.2284, allocations: 19.8 kB / 464.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2285, allocations: 9.188 kB / 464.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2285, allocations: 0 / 464.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.2285, allocations: 0 / 464.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2285, allocations: 7.875 kB / 464.9 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2288, allocations: 205.4 kB / 465.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2288, allocations: 0 / 465.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.2288, allocations: 0 / 465.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2288, allocations: 0 / 465.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.2288, allocations: 8 kB / 465.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2289, allocations: 4 kB / 465.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2289, allocations: 0 / 465.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.2297, allocations: 386.5 kB / 465.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.2298, allocations: 88.86 kB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2298, allocations: 4 kB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.2299, allocations: 4 kB / 465.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.23, allocations: 4 kB / 465.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.23, allocations: 4 kB / 465.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2302, allocations: 114.2 kB / 465.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2302, allocations: 0 / 465.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.2312, allocations: 128 kB / 465.8 MB, free: 15.21 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.0009844/0.2322, allocations: 195 kB / 466 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2333, allocations: 0.5722 MB / 466.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2333, allocations: 0 / 466.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.234, allocations: 471.3 kB / 467 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.2344, allocations: 15.94 kB / 467.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2355, allocations: 466.5 kB / 467.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.236, allocations: 0.7196 MB / 468.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.236, allocations: 7.438 kB / 468.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.236, allocations: 0 / 468.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Templates: time 0.0103/0.2463, allocations: 3.1 MB / 471.3 MB, free: 9.602 MB / 350.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)