Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.001426/0.001426, allocations: 180.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.402/1.402, allocations: 225.7 MB / 243.2 MB, free: 10.24 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.001053/0.001053, allocations: 90.06 kB / 294.4 MB, free: 9.746 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.3305/0.3305, allocations: 38.12 MB / 383.6 MB, free: 40.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 8 kB / 453.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3108, allocations: 59.13 MB / 0.5006 GB, free: 38.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005992/0.3168, allocations: 5.448 MB / 0.5059 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3205, allocations: 2.913 MB / 0.5088 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.3211, allocations: 30.03 kB / 0.5088 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.3215, allocations: 118.6 kB / 0.5089 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007654/0.3223, allocations: 282.5 kB / 0.5092 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.3233, allocations: 322.5 kB / 0.5095 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.3246, allocations: 1.092 MB / 0.5105 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3257, allocations: 0.8388 MB / 0.5114 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.3263, allocations: 285.8 kB / 0.5116 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006213/0.327, allocations: 454.3 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.3271, allocations: 25.44 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.3274, allocations: 154.8 kB / 0.5122 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.3277, allocations: 258.2 kB / 0.5125 GB, free: 33.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.328, allocations: 324.5 kB / 0.5128 GB, free: 33.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.3286, allocations: 0.7776 MB / 0.5136 GB, free: 33.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3286, allocations: 3.938 kB / 0.5136 GB, free: 33.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3286, allocations: 0 / 0.5136 GB, free: 33.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3286, allocations: 0 / 0.5136 GB, free: 33.2 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001253/0.3299, allocations: 0.8015 MB / 0.5143 GB, free: 32.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3299, allocations: 11.5 kB / 0.5144 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.3307, allocations: 138.7 kB / 0.5145 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007021/0.3314, allocations: 0.5099 MB / 0.515 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.3315, allocations: 36.16 kB / 0.515 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3318, allocations: 135 kB / 0.5152 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.3327, allocations: 0.8524 MB / 0.516 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.3328, allocations: 0 / 0.516 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.3328, allocations: 26 kB / 0.516 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003843/0.3332, allocations: 72.81 kB / 0.5161 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.3341, allocations: 0.6164 MB / 0.5167 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.3377, allocations: 3.799 MB / 0.5204 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.3387, allocations: 0.5303 MB / 0.5209 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.3391, allocations: 318.9 kB / 0.5212 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.3391, allocations: 14.28 kB / 0.5212 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3392, allocations: 45.97 kB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.3392, allocations: 4 kB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.002712/0.3419, allocations: 1.832 MB / 0.5231 GB, free: 27.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3419, allocations: 83.27 kB / 0.5231 GB, free: 27.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.3424, allocations: 426 kB / 0.5235 GB, free: 27.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3424, allocations: 33.7 kB / 0.5236 GB, free: 27.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.3427, allocations: 328.6 kB / 0.5239 GB, free: 27.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3428, allocations: 200.5 kB / 0.5241 GB, free: 26.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3429, allocations: 8 kB / 0.5241 GB, free: 26.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.343, allocations: 376.6 kB / 0.5245 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.3435, allocations: 375.1 kB / 0.5248 GB, free: 26.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.3441, allocations: 0.5918 MB / 0.5254 GB, free: 26.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3454, allocations: 1.064 MB / 0.5264 GB, free: 25.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3454, allocations: 6.906 kB / 0.5264 GB, free: 25.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004082/0.3495, allocations: 1.997 MB / 0.5284 GB, free: 24.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3495, allocations: 9.094 kB / 0.5284 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3496, allocations: 10.25 kB / 0.5284 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.3519, allocations: 0.9645 MB / 0.5293 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.3524, allocations: 119.4 kB / 0.5295 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/0.3608, allocations: 7.369 MB / 0.5367 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.3615, allocations: 40.31 kB / 0.5367 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.3616, allocations: 31.78 kB / 0.5367 GB, free: 20.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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,6,100.0%), (23,12,24.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003386/0.3619, allocations: 248.5 kB / 0.537 GB, free: 20.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.362, allocations: 50 kB / 0.537 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3631, allocations: 0.728 MB / 0.5377 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3631, allocations: 6.219 kB / 0.5377 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3631, allocations: 0 / 0.5377 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3631, allocations: 6.75 kB / 0.5377 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.3652, allocations: 1.527 MB / 0.5392 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.3652, allocations: 3.406 kB / 0.5392 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/0.3662, allocations: 192 kB / 0.5394 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3663, allocations: 3.188 kB / 0.5394 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.3663, allocations: 30.2 kB / 0.5394 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3663, allocations: 3 kB / 0.5394 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3664, allocations: 3.125 kB / 0.5394 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.3676, allocations: 0.9986 MB / 0.5404 GB, free: 18.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3677, allocations: 118.9 kB / 0.5405 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.3678, allocations: 29.95 kB / 0.5406 GB, free: 18.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.3681, allocations: 22.77 kB / 0.5406 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.3682, allocations: 41.14 kB / 0.5406 GB, free: 18.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.3682, allocations: 16.22 kB / 0.5406 GB, free: 18.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.3685, allocations: 275.4 kB / 0.5409 GB, free: 18.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3685, allocations: 2.938 kB / 0.5409 GB, free: 18.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.3694, allocations: 213.6 kB / 0.5411 GB, free: 18.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * 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.0002216/0.3696, allocations: 142.9 kB / 0.5412 GB, free: 18.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.3721, allocations: 1.446 MB / 0.5427 GB, free: 17.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3721, allocations: 0 / 0.5427 GB, free: 17.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.3726, allocations: 310.3 kB / 0.543 GB, free: 17.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.3733, allocations: 125.2 kB / 0.5431 GB, free: 17.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3776, allocations: 3.223 MB / 0.5462 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.3783, allocations: 0.9875 MB / 0.5472 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006845/0.379, allocations: 198.9 kB / 0.5474 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3792, allocations: 51.17 kB / 0.5474 GB, free: 14.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.083e-06/0.3792, allocations: 0.8438 kB / 0.5474 GB, free: 14.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01944/0.3986, allocations: 10.13 MB / 0.5573 GB, free: 12.19 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)