Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001988, allocations: 181.6 kB / 16.71 MB, free: 4.836 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.403/1.403, allocations: 225.7 MB / 243.2 MB, free: 8.492 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.0007751/0.0007752, allocations: 100.5 kB / 294.4 MB, free: 9.531 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.307/0.307, allocations: 38.12 MB / 383.6 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 453.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 59.13 MB / 0.5006 GB, free: 39.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007153/0.3396, allocations: 5.927 MB / 0.5064 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3427, allocations: 1.939 MB / 0.5083 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.3433, allocations: 38.5 kB / 0.5083 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.3438, allocations: 118.4 kB / 0.5084 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009502/0.3448, allocations: 343.3 kB / 0.5088 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3452, allocations: 125.7 kB / 0.5089 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3464, allocations: 1.144 MB / 0.51 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.3467, allocations: 157.5 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.3472, allocations: 286.1 kB / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.3479, allocations: 381.2 kB / 0.5108 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.3479, allocations: 22.38 kB / 0.5108 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.348, allocations: 20.78 kB / 0.5108 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3482, allocations: 178.3 kB / 0.511 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3484, allocations: 260.4 kB / 0.5112 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.3489, allocations: 0.4883 MB / 0.5117 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3489, allocations: 0 / 0.5117 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3489, allocations: 0 / 0.5117 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3489, allocations: 1.469 kB / 0.5117 GB, free: 34.85 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001241/0.3502, allocations: 0.7241 MB / 0.5124 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3502, allocations: 9.562 kB / 0.5124 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.3503, allocations: 60 kB / 0.5125 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.3509, allocations: 456.2 kB / 0.5129 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.351, allocations: 37.27 kB / 0.513 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.3511, allocations: 37.75 kB / 0.513 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.3518, allocations: 0.4946 MB / 0.5135 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3518, allocations: 0.6562 kB / 0.5135 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.3518, allocations: 17.56 kB / 0.5135 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.3519, allocations: 21.62 kB / 0.5135 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.3523, allocations: 367.2 kB / 0.5139 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.3543, allocations: 2.091 MB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3546, allocations: 238.6 kB / 0.5161 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.3549, allocations: 138.1 kB / 0.5163 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3549, allocations: 6.656 kB / 0.5163 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3549, allocations: 34.56 kB / 0.5163 GB, free: 31.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.3549, allocations: 0 / 0.5163 GB, free: 31.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001147/0.3561, allocations: 0.752 MB / 0.517 GB, free: 31.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3561, allocations: 84.48 kB / 0.5171 GB, free: 31.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.3565, allocations: 384.3 kB / 0.5175 GB, free: 30.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3566, allocations: 27.11 kB / 0.5175 GB, free: 30.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3567, allocations: 298.6 kB / 0.5178 GB, free: 30.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.3568, allocations: 80.91 kB / 0.5179 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.3568, allocations: 5.969 kB / 0.5179 GB, free: 30.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.3569, allocations: 349.5 kB / 0.5182 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3571, allocations: 87.67 kB / 0.5183 GB, free: 30.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.3573, allocations: 282 kB / 0.5186 GB, free: 29.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.3577, allocations: 402.5 kB / 0.519 GB, free: 29.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.3577, allocations: 2.562 kB / 0.519 GB, free: 29.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007298/0.3584, allocations: 448.3 kB / 0.5194 GB, free: 29.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3585, allocations: 8.984 kB / 0.5194 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.3585, allocations: 5.562 kB / 0.5194 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.3587, allocations: 52.41 kB / 0.5195 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.359, allocations: 84.05 kB / 0.5195 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.3601, allocations: 1.494 MB / 0.521 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3603, allocations: 19.41 kB / 0.521 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3604, allocations: 20.91 kB / 0.521 GB, free: 27.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.3606, allocations: 198.5 kB / 0.5212 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.3606, allocations: 39.72 kB / 0.5213 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.361, allocations: 248.1 kB / 0.5215 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.361, allocations: 2.938 kB / 0.5215 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.361, allocations: 3.938 kB / 0.5215 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.361, allocations: 10.3 kB / 0.5215 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.3618, allocations: 0.6723 MB / 0.5222 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3618, allocations: 0 / 0.5222 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.362, allocations: 55.48 kB / 0.5222 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3621, allocations: 0 / 0.5222 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3621, allocations: 10.66 kB / 0.5222 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3621, allocations: 2.812 kB / 0.5222 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3621, allocations: 0 / 0.5222 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3625, allocations: 432.7 kB / 0.5226 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.3626, allocations: 122.5 kB / 0.5228 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3627, allocations: 10.2 kB / 0.5228 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3628, allocations: 7.031 kB / 0.5228 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3628, allocations: 13.03 kB / 0.5228 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3629, allocations: 13.2 kB / 0.5228 GB, free: 26.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3631, allocations: 254.3 kB / 0.523 GB, free: 26.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3631, allocations: 0 / 0.523 GB, free: 26.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.3635, allocations: 87.06 kB / 0.5231 GB, free: 26.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0001009/0.3636, allocations: 111 kB / 0.5232 GB, free: 26.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.3641, allocations: 386.3 kB / 0.5236 GB, free: 26.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3642, allocations: 0 / 0.5236 GB, free: 26.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3643, allocations: 95.38 kB / 0.5237 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.3649, allocations: 96.98 kB / 0.5238 GB, free: 26.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3661, allocations: 1.056 MB / 0.5248 GB, free: 25.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3664, allocations: 0.8551 MB / 0.5257 GB, free: 24.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.3667, allocations: 86.44 kB / 0.5257 GB, free: 24.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.3667, allocations: 35.5 kB / 0.5258 GB, free: 24.85 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3667, allocations: 4 kB / 0.5258 GB, free: 24.85 MB / 378.7 MB Notification: Performance of Templates: time 0.006945/0.3737, allocations: 3.401 MB / 0.5291 GB, free: 24.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)