Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 178.9 kB / 16.71 MB, free: 5.09 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.286/1.286, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0007912/0.0007912, allocations: 94.39 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3522/0.3522, allocations: 48.8 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 12 kB / 468.1 MB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 63.07 MB / 0.5187 GB, free: 37.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.001957/0.265, allocations: 2.033 MB / 0.5207 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.2659, allocations: 0.6688 MB / 0.5214 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.266, allocations: 6.906 kB / 0.5214 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.2661, allocations: 21.39 kB / 0.5214 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.2663, allocations: 65.61 kB / 0.5214 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.2664, allocations: 57.78 kB / 0.5215 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2667, allocations: 265 kB / 0.5217 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2668, allocations: 66.95 kB / 0.5218 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2669, allocations: 102.1 kB / 0.5219 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2671, allocations: 110.6 kB / 0.522 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.2671, allocations: 8.875 kB / 0.522 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.652e-05/0.2672, allocations: 11.84 kB / 0.522 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.2672, allocations: 42.77 kB / 0.5221 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.2673, allocations: 140.5 kB / 0.5222 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2675, allocations: 217 kB / 0.5224 GB, free: 35.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2675, allocations: 0 / 0.5224 GB, free: 35.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2676, allocations: 0 / 0.5224 GB, free: 35.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2676, allocations: 0 / 0.5224 GB, free: 35.03 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000723/0.2683, allocations: 0.5269 MB / 0.5229 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2683, allocations: 16.8 kB / 0.5229 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.2684, allocations: 24.53 kB / 0.523 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.2687, allocations: 269.9 kB / 0.5232 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.2687, allocations: 38.8 kB / 0.5233 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.2688, allocations: 23.97 kB / 0.5233 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2691, allocations: 190.1 kB / 0.5235 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2691, allocations: 2.406 kB / 0.5235 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2691, allocations: 4 kB / 0.5235 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2691, allocations: 5.344 kB / 0.5235 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.2694, allocations: 138.6 kB / 0.5236 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.2702, allocations: 0.6767 MB / 0.5243 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.2705, allocations: 148.6 kB / 0.5244 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2707, allocations: 85.12 kB / 0.5245 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2707, allocations: 0 / 0.5245 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2707, allocations: 41.56 kB / 0.5245 GB, free: 33.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 9.92e-07/0.2708, allocations: 0 / 0.5245 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009913/0.2718, allocations: 0.6143 MB / 0.5251 GB, free: 33.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2718, allocations: 51.41 kB / 0.5252 GB, free: 32.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.272, allocations: 236.8 kB / 0.5254 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.272, allocations: 25.7 kB / 0.5254 GB, free: 32.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.272, allocations: 149.5 kB / 0.5256 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.2721, allocations: 74.3 kB / 0.5256 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.2721, allocations: 4 kB / 0.5257 GB, free: 32.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.2722, allocations: 343 kB / 0.526 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2723, allocations: 60.31 kB / 0.526 GB, free: 32.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2724, allocations: 82.59 kB / 0.5261 GB, free: 32.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.2727, allocations: 152 kB / 0.5263 GB, free: 32.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2727, allocations: 0 / 0.5263 GB, free: 32.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003326/0.273, allocations: 219.4 kB / 0.5265 GB, free: 32.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2731, allocations: 3.438 kB / 0.5265 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2731, allocations: 3.031 kB / 0.5265 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2731, allocations: 0 / 0.5265 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.2735, allocations: 84.89 kB / 0.5266 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2735, allocations: 0 / 0.5266 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2737, allocations: 15.56 kB / 0.5266 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2737, allocations: 10 kB / 0.5266 GB, free: 32.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.464e-05/0.2738, allocations: 137.4 kB / 0.5267 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.2738, allocations: 23.09 kB / 0.5267 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.2739, allocations: 27.12 kB / 0.5268 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2739, allocations: 6.438 kB / 0.5268 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2739, allocations: 0 / 0.5268 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2739, allocations: 3.938 kB / 0.5268 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.2745, allocations: 0.5546 MB / 0.5273 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2745, allocations: 0 / 0.5273 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.2749, allocations: 68.25 kB / 0.5274 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2749, allocations: 3.031 kB / 0.5274 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2749, allocations: 4 kB / 0.5274 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2749, allocations: 2.875 kB / 0.5274 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2749, allocations: 3.938 kB / 0.5274 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.2754, allocations: 365.9 kB / 0.5277 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.2755, allocations: 112.2 kB / 0.5278 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2755, allocations: 6.906 kB / 0.5279 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2757, allocations: 13.25 kB / 0.5279 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2758, allocations: 17.05 kB / 0.5279 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2758, allocations: 2.969 kB / 0.5279 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.2759, allocations: 171.6 kB / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2759, allocations: 0 / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.2761, allocations: 42.22 kB / 0.5281 GB, free: 31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 7.403e-05/0.2762, allocations: 114.8 kB / 0.5282 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.2766, allocations: 150.5 kB / 0.5283 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2766, allocations: 0 / 0.5283 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2767, allocations: 83.31 kB / 0.5284 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2771, allocations: 49.56 kB / 0.5285 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.2781, allocations: 0.8141 MB / 0.5293 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2783, allocations: 0.7592 MB / 0.53 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.2784, allocations: 19.22 kB / 0.53 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.2784, allocations: 21.94 kB / 0.53 GB, free: 29.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2784, allocations: 0 / 0.53 GB, free: 29.52 MB / 378.7 MB Notification: Performance of Templates: time 0.004085/0.2825, allocations: 1.803 MB / 0.5318 GB, free: 29.38 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1)