Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 109 kB / 17.28 MB, free: 6.059 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.002566/0.002566, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.858/2.858, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4838/0.4838, allocations: 38.02 MB / 330 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002981/0.00298, allocations: 56.61 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2401, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.006949/0.2471, allocations: 2.194 MB / 459.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.2527, allocations: 2.055 MB / 461.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2529, allocations: 3.938 kB / 461.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.2532, allocations: 11.92 kB / 461.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.2535, allocations: 35.86 kB / 461.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.2577, allocations: 0.7453 MB / 462 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.2581, allocations: 103.6 kB / 462.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.2582, allocations: 4 kB / 462.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2584, allocations: 47.7 kB / 462.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2586, allocations: 63.75 kB / 462.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2586, allocations: 0 / 462.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.2622, allocations: 1.24 MB / 463.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2623, allocations: 35.89 kB / 463.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2624, allocations: 35.75 kB / 463.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.2651, allocations: 0.9473 MB / 464.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.2651, allocations: 7.984 kB / 464.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2651, allocations: 0 / 464.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2652, allocations: 0 / 464.5 MB, free: 0.8398 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001403/0.2666, allocations: 0.5318 MB / 465 MB, free: 260 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.2666, allocations: 11.89 kB / 465.1 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.2667, allocations: 20.73 kB / 465.1 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2671, allocations: 180.2 kB / 465.3 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2671, allocations: 4.125 kB / 465.3 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.2671, allocations: 4.109 kB / 465.3 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2674, allocations: 83.47 kB / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2674, allocations: 4 kB / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.2675, allocations: 0 / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2675, allocations: 0 / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2676, allocations: 39.97 kB / 465.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.2679, allocations: 181.5 kB / 465.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.2681, allocations: 74.48 kB / 465.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2683, allocations: 68.8 kB / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.2683, allocations: 0 / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.2683, allocations: 34.56 kB / 465.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/0.2684, allocations: 0 / 465.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006537/0.269, allocations: 223.4 kB / 466 MB, free: 15.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.2691, allocations: 89.09 kB / 466 MB, free: 15.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.2694, allocations: 153 kB / 466.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2694, allocations: 29.7 kB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.2695, allocations: 100.4 kB / 466.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2696, allocations: 43.3 kB / 466.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.2697, allocations: 25.7 kB / 466.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.27, allocations: 322.8 kB / 466.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2701, allocations: 47.91 kB / 466.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.2702, allocations: 31.98 kB / 466.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.2705, allocations: 179.3 kB / 467 MB, free: 14.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.2706, allocations: 3.938 kB / 467 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004227/0.271, allocations: 179.3 kB / 467.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.2711, allocations: 44.81 kB / 467.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2711, allocations: 0 / 467.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2712, allocations: 3.938 kB / 467.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.2712, allocations: 3.828 kB / 467.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.2712, allocations: 4 kB / 467.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2713, allocations: 3.906 kB / 467.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.2714, allocations: 15.98 kB / 467.2 MB, free: 13.89 MB / 350.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.000239/0.2716, allocations: 167.4 kB / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2717, allocations: 15.94 kB / 467.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2717, allocations: 16.83 kB / 467.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2718, allocations: 0 / 467.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2718, allocations: 0 / 467.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2718, allocations: 0 / 467.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.272, allocations: 197.4 kB / 467.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2721, allocations: 0 / 467.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-06/0.2721, allocations: 0 / 467.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2721, allocations: 0 / 467.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2721, allocations: 8 kB / 467.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2721, allocations: 4 kB / 467.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2721, allocations: 4 kB / 467.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.2728, allocations: 298.5 kB / 467.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.2729, allocations: 88.92 kB / 468 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.2729, allocations: 0 / 468 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.273, allocations: 4 kB / 468 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.2731, allocations: 4 kB / 468 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.2731, allocations: 7.984 kB / 468 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.2733, allocations: 121.7 kB / 468.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.2733, allocations: 0 / 468.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001965/0.2753, allocations: 327.9 kB / 468.4 MB, free: 12.54 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.002627/0.2779, allocations: 366.2 kB / 468.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.2788, allocations: 339.2 kB / 469.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.2788, allocations: 4.062 kB / 469.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.2793, allocations: 255.3 kB / 469.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.2799, allocations: 19.92 kB / 469.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2812, allocations: 411.1 kB / 469.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.2817, allocations: 0.7119 MB / 470.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2818, allocations: 11.44 kB / 470.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2818, allocations: 0 / 470.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Templates: time 0.0196/0.3014, allocations: 6.15 MB / 476.7 MB, free: 4.203 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1)