Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.4 kB / 16.71 MB, free: 4.965 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.327/1.327, allocations: 225.7 MB / 243.2 MB, free: 8.453 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: 95.97 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/PowerSystems 1.0.0/package.mo): time 0.298/0.298, allocations: 38.11 MB / 383.6 MB, free: 40.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 8.219 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 59.14 MB / 0.5006 GB, free: 39.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006027/0.333, allocations: 4.547 MB / 0.505 GB, free: 38.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.3365, allocations: 2.56 MB / 0.5075 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.3372, allocations: 26 kB / 0.5076 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.3375, allocations: 57.22 kB / 0.5076 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.3386, allocations: 263.1 kB / 0.5079 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009769/0.3396, allocations: 220.9 kB / 0.5081 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3414, allocations: 0.9481 MB / 0.509 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.3424, allocations: 0.5948 MB / 0.5096 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.3431, allocations: 227 kB / 0.5098 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008174/0.3439, allocations: 367.1 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.344, allocations: 21.28 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.3448, allocations: 224.5 kB / 0.5104 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.3452, allocations: 217.1 kB / 0.5106 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.3458, allocations: 249.9 kB / 0.5108 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3472, allocations: 0.6439 MB / 0.5115 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3472, allocations: 1.594 kB / 0.5115 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3472, allocations: 1.656 kB / 0.5115 GB, free: 34.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.3473, allocations: 0 / 0.5115 GB, free: 34.98 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00182/0.3491, allocations: 0.6841 MB / 0.5121 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3491, allocations: 9.094 kB / 0.5121 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.3499, allocations: 97.31 kB / 0.5122 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.3508, allocations: 400 kB / 0.5126 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.3509, allocations: 27.56 kB / 0.5126 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.3511, allocations: 50.81 kB / 0.5127 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3523, allocations: 0.688 MB / 0.5134 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/0.3524, allocations: 7.266 kB / 0.5134 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.3525, allocations: 25.64 kB / 0.5134 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.3527, allocations: 62.83 kB / 0.5135 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.3536, allocations: 0.6633 MB / 0.5141 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.3568, allocations: 2.659 MB / 0.5167 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.3573, allocations: 312 kB / 0.517 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.3576, allocations: 214.7 kB / 0.5172 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3576, allocations: 4.688 kB / 0.5172 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3577, allocations: 37.25 kB / 0.5172 GB, free: 31.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.3577, allocations: 4 kB / 0.5172 GB, free: 31.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.00195/0.3596, allocations: 1.281 MB / 0.5185 GB, free: 30.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3597, allocations: 86.67 kB / 0.5186 GB, free: 30.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.36, allocations: 293.8 kB / 0.5189 GB, free: 30.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.36, allocations: 29.7 kB / 0.5189 GB, free: 30.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3601, allocations: 251.4 kB / 0.5191 GB, free: 30.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.3602, allocations: 145.5 kB / 0.5193 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.3602, allocations: 6.906 kB / 0.5193 GB, free: 30.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.3603, allocations: 349.7 kB / 0.5196 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3605, allocations: 185.1 kB / 0.5198 GB, free: 29.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3608, allocations: 325.3 kB / 0.5201 GB, free: 29.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.3614, allocations: 0.5525 MB / 0.5206 GB, free: 29.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3614, allocations: 0 / 0.5206 GB, free: 29.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001003/0.3624, allocations: 0.6731 MB / 0.5213 GB, free: 29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3624, allocations: 12.38 kB / 0.5213 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006831/0.3631, allocations: 486.5 kB / 0.5218 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.3635, allocations: 116.4 kB / 0.5219 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3638, allocations: 86.14 kB / 0.522 GB, free: 28.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.3658, allocations: 3.014 MB / 0.5249 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.366, allocations: 22.62 kB / 0.5249 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.3661, allocations: 25.39 kB / 0.5249 GB, free: 25.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.3663, allocations: 217.6 kB / 0.5252 GB, free: 25.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.3664, allocations: 33.09 kB / 0.5252 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.3671, allocations: 467.8 kB / 0.5256 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.3671, allocations: 11.31 kB / 0.5256 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3671, allocations: 0 / 0.5256 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.3671, allocations: 3.281 kB / 0.5256 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.3683, allocations: 1.026 MB / 0.5266 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3684, allocations: 2.875 kB / 0.5267 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.3687, allocations: 63.75 kB / 0.5267 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3687, allocations: 6.406 kB / 0.5267 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3687, allocations: 11.2 kB / 0.5267 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.3687, allocations: 10.97 kB / 0.5267 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3687, allocations: 0 / 0.5267 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.3695, allocations: 0.743 MB / 0.5275 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3696, allocations: 136 kB / 0.5276 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3697, allocations: 10.06 kB / 0.5276 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3699, allocations: 12.66 kB / 0.5276 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3699, allocations: 32.12 kB / 0.5276 GB, free: 24.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3699, allocations: 6.469 kB / 0.5277 GB, free: 24.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3701, allocations: 208.8 kB / 0.5279 GB, free: 24.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3701, allocations: 0 / 0.5279 GB, free: 24.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.3706, allocations: 109.8 kB / 0.528 GB, free: 24.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002216/0.3709, allocations: 149 kB / 0.5281 GB, free: 24.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008462/0.3717, allocations: 0.7005 MB / 0.5288 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3717, allocations: 0 / 0.5288 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.372, allocations: 209.7 kB / 0.529 GB, free: 23.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3724, allocations: 69.89 kB / 0.5291 GB, free: 23.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3739, allocations: 1.372 MB / 0.5304 GB, free: 22.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3742, allocations: 0.878 MB / 0.5312 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3744, allocations: 105 kB / 0.5313 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3745, allocations: 30.03 kB / 0.5314 GB, free: 22.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3745, allocations: 0 / 0.5314 GB, free: 22.25 MB / 378.7 MB Notification: Performance of Templates: time 0.007255/0.3818, allocations: 3.991 MB / 0.5353 GB, free: 21.95 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)