Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009563, allocations: 183.7 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.7 MB / 243.2 MB, free: 8.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008023, allocations: 94.69 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2929/0.2929, allocations: 38.12 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2867, allocations: 59.14 MB / 0.5006 GB, free: 38.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003345/0.2901, allocations: 3.281 MB / 0.5038 GB, free: 38.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.2924, allocations: 2.636 MB / 0.5064 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2926, allocations: 11.44 kB / 0.5064 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.2928, allocations: 35.81 kB / 0.5064 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.2934, allocations: 265 kB / 0.5067 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.2937, allocations: 113.4 kB / 0.5068 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.2944, allocations: 0.5627 MB / 0.5073 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.295, allocations: 473.9 kB / 0.5078 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.2953, allocations: 122.5 kB / 0.5079 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.2955, allocations: 148.5 kB / 0.508 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2956, allocations: 8.812 kB / 0.5081 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.2963, allocations: 402 kB / 0.5084 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2964, allocations: 96.67 kB / 0.5085 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2965, allocations: 123.6 kB / 0.5086 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.297, allocations: 364.8 kB / 0.509 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.297, allocations: 0.875 kB / 0.509 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.297, allocations: 0 / 0.509 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2971, allocations: 0 / 0.509 GB, free: 35.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005945/0.2977, allocations: 480.9 kB / 0.5095 GB, free: 35.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2977, allocations: 13.88 kB / 0.5095 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/0.2986, allocations: 106.4 kB / 0.5096 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2988, allocations: 259.6 kB / 0.5098 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2989, allocations: 19.23 kB / 0.5098 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.2989, allocations: 18.84 kB / 0.5099 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.2994, allocations: 316.2 kB / 0.5102 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2995, allocations: 3.938 kB / 0.5102 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2995, allocations: 11.73 kB / 0.5102 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.2995, allocations: 14.45 kB / 0.5102 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3, allocations: 307.1 kB / 0.5105 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3014, allocations: 1.295 MB / 0.5117 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3017, allocations: 201.7 kB / 0.5119 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.3018, allocations: 41.89 kB / 0.512 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3018, allocations: 5.062 kB / 0.512 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3018, allocations: 33.34 kB / 0.512 GB, free: 33.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3018, allocations: 0 / 0.512 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002787/0.3021, allocations: 145.3 kB / 0.5121 GB, free: 33.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3022, allocations: 77.11 kB / 0.5122 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3023, allocations: 207.9 kB / 0.5124 GB, free: 33.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.3024, allocations: 34.14 kB / 0.5125 GB, free: 33.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.3024, allocations: 172.8 kB / 0.5126 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3025, allocations: 29.53 kB / 0.5126 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.3025, allocations: 13.72 kB / 0.5127 GB, free: 32.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.3025, allocations: 324.5 kB / 0.513 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.3026, allocations: 40.03 kB / 0.513 GB, free: 32.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.3027, allocations: 130.4 kB / 0.5131 GB, free: 32.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3028, allocations: 201.4 kB / 0.5133 GB, free: 32.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3028, allocations: 0 / 0.5133 GB, free: 32.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002182/0.3031, allocations: 204.3 kB / 0.5135 GB, free: 32.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3031, allocations: 8.125 kB / 0.5135 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3031, allocations: 2.75 kB / 0.5135 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3031, allocations: 2.938 kB / 0.5135 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3033, allocations: 49.19 kB / 0.5136 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3033, allocations: 2.656 kB / 0.5136 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3034, allocations: 25.88 kB / 0.5136 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3034, allocations: 7.625 kB / 0.5136 GB, free: 32.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 8.906e-05/0.3035, allocations: 163.6 kB / 0.5138 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.3035, allocations: 20.03 kB / 0.5138 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.3037, allocations: 124.6 kB / 0.5139 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3037, allocations: 64 / 0.5139 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3037, allocations: 9.969 kB / 0.5139 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3037, allocations: 0 / 0.5139 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.3043, allocations: 0.5678 MB / 0.5145 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3043, allocations: 2.938 kB / 0.5145 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.3044, allocations: 21.92 kB / 0.5145 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3044, allocations: 7.156 kB / 0.5145 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3044, allocations: 9.969 kB / 0.5145 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3044, allocations: 2.906 kB / 0.5145 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3044, allocations: 2.938 kB / 0.5145 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3046, allocations: 282.3 kB / 0.5148 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.3046, allocations: 97.73 kB / 0.5149 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3047, allocations: 14.2 kB / 0.5149 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3048, allocations: 2.938 kB / 0.5149 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3048, allocations: 17.22 kB / 0.5149 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3048, allocations: 9.938 kB / 0.5149 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.3049, allocations: 153.1 kB / 0.5151 GB, free: 31.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3049, allocations: 0 / 0.5151 GB, free: 31.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.3052, allocations: 51.19 kB / 0.5151 GB, free: 31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.477e-05/0.3053, allocations: 106.5 kB / 0.5152 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3055, allocations: 117.4 kB / 0.5153 GB, free: 30.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3055, allocations: 0 / 0.5153 GB, free: 30.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.3055, allocations: 49.88 kB / 0.5154 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3059, allocations: 33.09 kB / 0.5154 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.3065, allocations: 0.5329 MB / 0.5159 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.3067, allocations: 0.757 MB / 0.5167 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.3068, allocations: 43.06 kB / 0.5167 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3068, allocations: 16.09 kB / 0.5167 GB, free: 29.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3069, allocations: 0 / 0.5167 GB, free: 29.72 MB / 378.7 MB Notification: Performance of Templates: time 0.002985/0.3098, allocations: 1.133 MB / 0.5178 GB, free: 29.61 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)