Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 182.6 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.307/1.307, allocations: 225.7 MB / 243.2 MB, free: 8.469 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.0007552/0.0007553, allocations: 96.95 kB / 294.4 MB, free: 9.504 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.3141/0.3141, allocations: 38.12 MB / 383.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 59.13 MB / 0.5006 GB, free: 39.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005197/0.3555, allocations: 4.817 MB / 0.5053 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.3593, allocations: 4.832 MB / 0.51 GB, free: 33.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.3599, allocations: 22.19 kB / 0.51 GB, free: 33.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3602, allocations: 67.64 kB / 0.5101 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.3617, allocations: 494.5 kB / 0.5106 GB, free: 33.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.3625, allocations: 252.7 kB / 0.5108 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.3641, allocations: 1.134 MB / 0.5119 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.3654, allocations: 0.8669 MB / 0.5128 GB, free: 32.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.366, allocations: 265.7 kB / 0.513 GB, free: 32.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.3666, allocations: 315.8 kB / 0.5133 GB, free: 32.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3667, allocations: 20 kB / 0.5133 GB, free: 32.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.368, allocations: 0.731 MB / 0.5141 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3683, allocations: 183 kB / 0.5142 GB, free: 31.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.3685, allocations: 252 kB / 0.5145 GB, free: 31.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3696, allocations: 0.7767 MB / 0.5152 GB, free: 31.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3696, allocations: 0.7188 kB / 0.5152 GB, free: 31.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3696, allocations: 3.938 kB / 0.5152 GB, free: 31.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3696, allocations: 0.75 kB / 0.5152 GB, free: 31.39 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0007999/0.3704, allocations: 0.6841 MB / 0.5159 GB, free: 30.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3705, allocations: 10.53 kB / 0.5159 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.3719, allocations: 212 kB / 0.5161 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.3723, allocations: 358.6 kB / 0.5165 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3723, allocations: 31.19 kB / 0.5165 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.3724, allocations: 44.58 kB / 0.5165 GB, free: 30.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.3733, allocations: 0.6247 MB / 0.5171 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3733, allocations: 5.75 kB / 0.5171 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.3734, allocations: 16.16 kB / 0.5172 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.3734, allocations: 34.25 kB / 0.5172 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.3743, allocations: 0.6088 MB / 0.5178 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.3775, allocations: 2.264 MB / 0.52 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.3781, allocations: 482.6 kB / 0.5205 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.3784, allocations: 232.4 kB / 0.5207 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.3785, allocations: 17.05 kB / 0.5207 GB, free: 28.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3785, allocations: 41.56 kB / 0.5207 GB, free: 28.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/0.3785, allocations: 0 / 0.5207 GB, free: 28.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003297/0.3818, allocations: 1.697 MB / 0.5224 GB, free: 27.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3819, allocations: 90.31 kB / 0.5225 GB, free: 27.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3821, allocations: 280.1 kB / 0.5227 GB, free: 27.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3821, allocations: 36.89 kB / 0.5228 GB, free: 26.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3822, allocations: 222.1 kB / 0.523 GB, free: 26.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.3823, allocations: 155.5 kB / 0.5231 GB, free: 26.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.3824, allocations: 10.94 kB / 0.5232 GB, free: 26.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.3824, allocations: 345.2 kB / 0.5235 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.3827, allocations: 181 kB / 0.5237 GB, free: 26.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3829, allocations: 285.8 kB / 0.5239 GB, free: 26.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.3834, allocations: 0.5038 MB / 0.5244 GB, free: 25.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3834, allocations: 6.156 kB / 0.5244 GB, free: 25.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009437/0.3844, allocations: 0.6665 MB / 0.5251 GB, free: 25.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3844, allocations: 6.062 kB / 0.5251 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3844, allocations: 9.812 kB / 0.5251 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.3849, allocations: 174.1 kB / 0.5253 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3853, allocations: 96.77 kB / 0.5253 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.388, allocations: 2.544 MB / 0.5278 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3883, allocations: 20.5 kB / 0.5279 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.3883, allocations: 19.69 kB / 0.5279 GB, free: 23.62 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.3886, allocations: 198.1 kB / 0.5281 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.3886, allocations: 34.56 kB / 0.5281 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.3897, allocations: 0.6337 MB / 0.5287 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3897, allocations: 7.062 kB / 0.5287 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.3897, allocations: 0 / 0.5287 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3897, allocations: 6.578 kB / 0.5287 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3916, allocations: 1.346 MB / 0.53 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3916, allocations: 3.125 kB / 0.53 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.392, allocations: 78.78 kB / 0.5301 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.3924, allocations: 144.9 kB / 0.5303 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.3925, allocations: 7.141 kB / 0.5303 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.3949, allocations: 2.318 MB / 0.5325 GB, free: 20.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3949, allocations: 4.031 kB / 0.5325 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3961, allocations: 0.9531 MB / 0.5335 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.3962, allocations: 109.7 kB / 0.5336 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.3963, allocations: 11.38 kB / 0.5336 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3965, allocations: 17.61 kB / 0.5336 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.3966, allocations: 26.72 kB / 0.5336 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3966, allocations: 20.47 kB / 0.5336 GB, free: 20.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.3968, allocations: 199.2 kB / 0.5338 GB, free: 19.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3968, allocations: 4 kB / 0.5338 GB, free: 19.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006436/0.3974, allocations: 138.4 kB / 0.534 GB, free: 19.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.3976, allocations: 113.2 kB / 0.5341 GB, free: 19.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3987, allocations: 0.6683 MB / 0.5347 GB, free: 19.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3987, allocations: 0 / 0.5347 GB, free: 19.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.3993, allocations: 420.1 kB / 0.5351 GB, free: 19.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3998, allocations: 59.56 kB / 0.5352 GB, free: 19.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.4015, allocations: 1.391 MB / 0.5365 GB, free: 18.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4018, allocations: 0.8777 MB / 0.5374 GB, free: 17.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.4021, allocations: 77.77 kB / 0.5375 GB, free: 17.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.4021, allocations: 31.5 kB / 0.5375 GB, free: 17.67 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4022, allocations: 0 / 0.5375 GB, free: 17.67 MB / 378.7 MB Notification: Performance of Templates: time 0.009513/0.4117, allocations: 5.256 MB / 0.5426 GB, free: 17.31 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)