Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 177.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.314/1.314, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.001336/0.001336, allocations: 96.73 kB / 294.4 MB, free: 9.516 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.3994/0.3994, allocations: 38.12 MB / 383.6 MB, free: 40.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004621, allocations: 16 kB / 453.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4581, allocations: 59.13 MB / 0.5006 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005256/0.4634, allocations: 5.2 MB / 0.5057 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.4658, allocations: 1.787 MB / 0.5074 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.4661, allocations: 33.25 kB / 0.5075 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.4665, allocations: 113.1 kB / 0.5076 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.4671, allocations: 297.3 kB / 0.5079 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.4675, allocations: 147.2 kB / 0.508 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.4685, allocations: 1.074 MB / 0.509 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.4687, allocations: 137.5 kB / 0.5092 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.4691, allocations: 262.9 kB / 0.5094 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.4697, allocations: 452.3 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.4697, allocations: 25.5 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.4698, allocations: 26.41 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.4701, allocations: 213.8 kB / 0.5101 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.4703, allocations: 277.7 kB / 0.5104 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.4708, allocations: 0.5977 MB / 0.511 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4708, allocations: 0 / 0.511 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4708, allocations: 0 / 0.511 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4708, allocations: 0 / 0.511 GB, free: 35.52 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001447/0.4723, allocations: 0.8492 MB / 0.5118 GB, free: 34.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4723, allocations: 12.78 kB / 0.5118 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4724, allocations: 51.91 kB / 0.5118 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009713/0.4734, allocations: 0.5998 MB / 0.5124 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4734, allocations: 26 kB / 0.5125 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.4735, allocations: 45.75 kB / 0.5125 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.4742, allocations: 0.5448 MB / 0.513 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4742, allocations: 0 / 0.513 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.4742, allocations: 12.16 kB / 0.513 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/0.4745, allocations: 87.92 kB / 0.5131 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.475, allocations: 359.6 kB / 0.5135 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.4774, allocations: 2.108 MB / 0.5155 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.4782, allocations: 385.9 kB / 0.5159 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.4787, allocations: 309.1 kB / 0.5162 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4787, allocations: 6.906 kB / 0.5162 GB, free: 32.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4788, allocations: 38.09 kB / 0.5162 GB, free: 32.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.472e-06/0.4788, allocations: 0 / 0.5162 GB, free: 32.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003797/0.4826, allocations: 2.533 MB / 0.5187 GB, free: 31.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.4826, allocations: 82.55 kB / 0.5188 GB, free: 31.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.483, allocations: 383.1 kB / 0.5192 GB, free: 30.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.483, allocations: 29.7 kB / 0.5192 GB, free: 30.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4831, allocations: 258.1 kB / 0.5194 GB, free: 30.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.4832, allocations: 132.1 kB / 0.5196 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.4832, allocations: 11.94 kB / 0.5196 GB, free: 30.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.4833, allocations: 362.8 kB / 0.5199 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.4836, allocations: 256.8 kB / 0.5202 GB, free: 30.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.484, allocations: 374.4 kB / 0.5205 GB, free: 29.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.4846, allocations: 0.6248 MB / 0.5211 GB, free: 29.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4847, allocations: 3.094 kB / 0.5211 GB, free: 29.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001344/0.486, allocations: 0.9908 MB / 0.5221 GB, free: 29.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.486, allocations: 9.141 kB / 0.5221 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.486, allocations: 2.844 kB / 0.5221 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008329/0.4869, allocations: 386.3 kB / 0.5225 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4872, allocations: 81.86 kB / 0.5226 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.491, allocations: 6.243 MB / 0.5286 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.4914, allocations: 44.12 kB / 0.5287 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.4914, allocations: 22.02 kB / 0.5287 GB, free: 23.7 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.4917, allocations: 201 kB / 0.5289 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.4918, allocations: 49.12 kB / 0.5289 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.493, allocations: 0.8397 MB / 0.5298 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.493, allocations: 11.19 kB / 0.5298 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.493, allocations: 3.219 kB / 0.5298 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4931, allocations: 3.375 kB / 0.5298 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.495, allocations: 1.414 MB / 0.5312 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.495, allocations: 7.062 kB / 0.5312 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4952, allocations: 35.83 kB / 0.5312 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4962, allocations: 440.3 kB / 0.5316 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.4962, allocations: 33.61 kB / 0.5317 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.4999, allocations: 6.245 MB / 0.5378 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4999, allocations: 0 / 0.5378 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.5014, allocations: 1.127 MB / 0.5389 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.5015, allocations: 117 kB / 0.539 GB, free: 16.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5017, allocations: 31.78 kB / 0.539 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.5019, allocations: 36.89 kB / 0.539 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.502, allocations: 36.64 kB / 0.5391 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.5021, allocations: 20.98 kB / 0.5391 GB, free: 16.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002372/0.5023, allocations: 259.7 kB / 0.5393 GB, free: 16.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5023, allocations: 0 / 0.5393 GB, free: 16.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005743/0.5029, allocations: 158.2 kB / 0.5395 GB, free: 16.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/0.5031, allocations: 127.9 kB / 0.5396 GB, free: 16.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5046, allocations: 1.384 MB / 0.541 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5046, allocations: 0 / 0.541 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.5059, allocations: 1.077 MB / 0.542 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.5065, allocations: 119 kB / 0.5421 GB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.509, allocations: 2.236 MB / 0.5443 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.5093, allocations: 0.8804 MB / 0.5452 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.5095, allocations: 81.12 kB / 0.5452 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.5096, allocations: 35.5 kB / 0.5453 GB, free: 12.12 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5096, allocations: 0 / 0.5453 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01432/0.5239, allocations: 7.488 MB / 0.5526 GB, free: 11.56 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)