Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009136/0.0009135, allocations: 182.4 kB / 16.71 MB, free: 4.969 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.3/1.3, allocations: 225.7 MB / 243.2 MB, free: 8.461 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.0008259/0.000826, allocations: 95.22 kB / 294.4 MB, free: 9.492 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.3289/0.3289, allocations: 38.12 MB / 383.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004803, allocations: 12 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3623, allocations: 59.12 MB / 0.5006 GB, free: 38.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006834/0.3692, allocations: 6.232 MB / 0.5067 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.3736, allocations: 1.736 MB / 0.5084 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.3748, allocations: 47.28 kB / 0.5084 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.375, allocations: 64.47 kB / 0.5085 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3763, allocations: 266.1 kB / 0.5087 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.3768, allocations: 129.3 kB / 0.5089 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.378, allocations: 0.9484 MB / 0.5098 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.3783, allocations: 149.3 kB / 0.5099 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.3788, allocations: 268.6 kB / 0.5102 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.3793, allocations: 329.8 kB / 0.5105 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.3794, allocations: 17.84 kB / 0.5105 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.3795, allocations: 19.06 kB / 0.5105 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3796, allocations: 138.1 kB / 0.5107 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.3799, allocations: 241.5 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3803, allocations: 469.2 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3803, allocations: 4 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3803, allocations: 4.969 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3804, allocations: 0 / 0.5113 GB, free: 34.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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0011/0.3815, allocations: 0.7123 MB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3815, allocations: 8.781 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.3816, allocations: 54.19 kB / 0.5121 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.3822, allocations: 428.9 kB / 0.5125 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.3822, allocations: 27.75 kB / 0.5125 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.3823, allocations: 41.3 kB / 0.5126 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.3828, allocations: 459.1 kB / 0.513 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3829, allocations: 3.031 kB / 0.513 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.3829, allocations: 17.59 kB / 0.513 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3829, allocations: 8.062 kB / 0.513 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.3833, allocations: 309 kB / 0.5133 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3849, allocations: 1.772 MB / 0.5151 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3851, allocations: 146.8 kB / 0.5152 GB, free: 31.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.3852, allocations: 53.77 kB / 0.5153 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3852, allocations: 10.75 kB / 0.5153 GB, free: 31.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3852, allocations: 40.38 kB / 0.5153 GB, free: 31.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.3852, allocations: 0 / 0.5153 GB, free: 31.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007908/0.386, allocations: 0.6006 MB / 0.5159 GB, free: 31.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.3861, allocations: 118.3 kB / 0.516 GB, free: 31.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3864, allocations: 371.2 kB / 0.5164 GB, free: 31.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3864, allocations: 29.7 kB / 0.5164 GB, free: 30.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3865, allocations: 275.2 kB / 0.5166 GB, free: 30.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3865, allocations: 62.23 kB / 0.5167 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.3865, allocations: 4 kB / 0.5167 GB, free: 30.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.3866, allocations: 345.8 kB / 0.517 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.3867, allocations: 47.53 kB / 0.5171 GB, free: 30.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3868, allocations: 195.8 kB / 0.5173 GB, free: 30.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.3871, allocations: 260.6 kB / 0.5175 GB, free: 29.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3871, allocations: 1.125 kB / 0.5175 GB, free: 29.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003668/0.3875, allocations: 297.5 kB / 0.5178 GB, free: 29.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3875, allocations: 7.469 kB / 0.5178 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3875, allocations: 4.594 kB / 0.5178 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3875, allocations: 11.62 kB / 0.5178 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.3878, allocations: 63.64 kB / 0.5179 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3878, allocations: 12.39 kB / 0.5179 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.388, allocations: 15.69 kB / 0.5179 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3881, allocations: 18.19 kB / 0.5179 GB, free: 29.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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 0.0001438/0.3882, allocations: 186.7 kB / 0.5181 GB, free: 29.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.3883, allocations: 37.62 kB / 0.5181 GB, free: 29.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3885, allocations: 169.9 kB / 0.5183 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3885, allocations: 6.297 kB / 0.5183 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3885, allocations: 2.969 kB / 0.5183 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3885, allocations: 3.938 kB / 0.5183 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.3891, allocations: 0.5208 MB / 0.5188 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3891, allocations: 1.469 kB / 0.5188 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3893, allocations: 35.48 kB / 0.5189 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3893, allocations: 1.188 kB / 0.5189 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3893, allocations: 10.59 kB / 0.5189 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3893, allocations: 1.531 kB / 0.5189 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3893, allocations: 9.344 kB / 0.5189 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.3897, allocations: 401.5 kB / 0.5193 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.3897, allocations: 106.4 kB / 0.5194 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3898, allocations: 14.09 kB / 0.5194 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.39, allocations: 5.031 kB / 0.5194 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.39, allocations: 17.73 kB / 0.5194 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.39, allocations: 3.969 kB / 0.5194 GB, free: 28.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3902, allocations: 250.1 kB / 0.5196 GB, free: 28.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3902, allocations: 0 / 0.5196 GB, free: 28.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.3906, allocations: 73.41 kB / 0.5197 GB, free: 28.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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 0.0001062/0.3907, allocations: 106.7 kB / 0.5198 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.391, allocations: 150 kB / 0.52 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.391, allocations: 0 / 0.52 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.3911, allocations: 58.5 kB / 0.52 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.3917, allocations: 89.75 kB / 0.5201 GB, free: 28.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3931, allocations: 1.101 MB / 0.5212 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3934, allocations: 0.84 MB / 0.522 GB, free: 26.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.3936, allocations: 51.12 kB / 0.522 GB, free: 26.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.3937, allocations: 30.39 kB / 0.5221 GB, free: 26.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3937, allocations: 0 / 0.5221 GB, free: 26.81 MB / 378.7 MB Notification: Performance of Templates: time 0.006168/0.3999, allocations: 3.076 MB / 0.5251 GB, free: 26.55 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)