Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.00178, allocations: 110.8 kB / 17.29 MB, free: 6.215 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.001966/0.001967, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.771/2.771, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4466/0.4466, allocations: 38.03 MB / 330.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 60.8 kB / 398.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2437, allocations: 58.07 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.0088/0.2526, allocations: 2.143 MB / 459.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2629, allocations: 2.055 MB / 461.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2631, allocations: 0 / 461.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.2635, allocations: 7.922 kB / 461.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2638, allocations: 27.89 kB / 461.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.2686, allocations: 0.7563 MB / 462 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.2689, allocations: 83.69 kB / 462.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.269, allocations: 4.188 kB / 462.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2692, allocations: 35.84 kB / 462.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2694, allocations: 39.83 kB / 462.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.2694, allocations: 4 kB / 462.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.2737, allocations: 1.263 MB / 463.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.2738, allocations: 11.92 kB / 463.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.2739, allocations: 19.88 kB / 463.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.2771, allocations: 0.9433 MB / 464.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2771, allocations: 4 kB / 464.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.2771, allocations: 0 / 464.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2772, allocations: 0 / 464.4 MB, free: 1.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001458/0.2786, allocations: 0.5008 MB / 464.9 MB, free: 464 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.2787, allocations: 15.83 kB / 464.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.2788, allocations: 8.844 kB / 464.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.2792, allocations: 187.6 kB / 465.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2792, allocations: 4 kB / 465.1 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.2792, allocations: 0 / 465.1 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2795, allocations: 61.67 kB / 465.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2795, allocations: 0 / 465.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2796, allocations: 0 / 465.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2796, allocations: 0 / 465.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.2797, allocations: 23.97 kB / 465.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.28, allocations: 169.5 kB / 465.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2802, allocations: 46.56 kB / 465.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.2803, allocations: 32.88 kB / 465.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2803, allocations: 4 kB / 465.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.2804, allocations: 34.56 kB / 465.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.2804, allocations: 0 / 465.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004503/0.2809, allocations: 151.2 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.281, allocations: 93.09 kB / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2812, allocations: 113.8 kB / 465.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2812, allocations: 29.69 kB / 465.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.2813, allocations: 96.17 kB / 465.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.2814, allocations: 31.55 kB / 466 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.2815, allocations: 13.72 kB / 466 MB, free: 15.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2816, allocations: 326.8 kB / 466.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.2817, allocations: 16 kB / 466.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.2818, allocations: 24.14 kB / 466.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.282, allocations: 128.2 kB / 466.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.282, allocations: 0 / 466.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002938/0.2823, allocations: 131.2 kB / 466.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.2824, allocations: 41.75 kB / 466.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2825, allocations: 4 kB / 466.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2825, allocations: 7.922 kB / 466.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.2825, allocations: 0 / 466.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2825, allocations: 320 / 466.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.2826, allocations: 0 / 466.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.2827, allocations: 4 kB / 466.7 MB, free: 14.48 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.0001999/0.2829, allocations: 159.5 kB / 466.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.283, allocations: 11.84 kB / 466.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.283, allocations: 16.36 kB / 466.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.283, allocations: 0 / 466.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.283, allocations: 0 / 466.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2831, allocations: 0 / 466.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2833, allocations: 169.6 kB / 467 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2833, allocations: 0 / 467 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.2833, allocations: 0 / 467 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2833, allocations: 7.984 kB / 467 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2833, allocations: 0 / 467 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2834, allocations: 0 / 467 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2834, allocations: 4 kB / 467 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.2838, allocations: 226.5 kB / 467.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.2839, allocations: 84.95 kB / 467.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.284, allocations: 7.984 kB / 467.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.284, allocations: 0 / 467.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2841, allocations: 8 kB / 467.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2841, allocations: 0 / 467.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.2842, allocations: 98.39 kB / 467.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.2842, allocations: 4.031 kB / 467.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00613/0.2904, allocations: 316 kB / 467.7 MB, free: 13.28 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.002695/0.2931, allocations: 370.8 kB / 468.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.2937, allocations: 199.3 kB / 468.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2938, allocations: 0 / 468.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.2941, allocations: 155.4 kB / 468.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.2947, allocations: 8 kB / 468.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.2957, allocations: 289.9 kB / 468.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.2962, allocations: 0.6963 MB / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.2962, allocations: 7.438 kB / 469.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2962, allocations: 0 / 469.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01919/0.3154, allocations: 5.739 MB / 475.2 MB, free: 5.738 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1)