Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 183.7 kB / 16.71 MB, free: 4.84 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.476/1.476, 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.000799/0.000799, allocations: 99 kB / 294.4 MB, free: 9.504 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.3271/0.3271, allocations: 38.12 MB / 383.6 MB, free: 40.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 12 kB / 453.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 59.13 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.00895/0.3085, allocations: 9.968 MB / 0.5103 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007215/0.3158, allocations: 5.933 MB / 0.5161 GB, free: 29.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.3173, allocations: 66.44 kB / 0.5162 GB, free: 29.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008518/0.3182, allocations: 265.2 kB / 0.5164 GB, free: 29.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.3197, allocations: 0.5776 MB / 0.517 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3216, allocations: 0.66 MB / 0.5177 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.3239, allocations: 2.459 MB / 0.5201 GB, free: 27.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.3264, allocations: 2.185 MB / 0.5222 GB, free: 26.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3276, allocations: 0.5963 MB / 0.5228 GB, free: 25.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.3287, allocations: 0.9102 MB / 0.5237 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3288, allocations: 53.72 kB / 0.5237 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.3297, allocations: 430.7 kB / 0.5241 GB, free: 25.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.3302, allocations: 0.6024 MB / 0.5247 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.3308, allocations: 0.6541 MB / 0.5253 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.3324, allocations: 1.701 MB / 0.527 GB, free: 24.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3325, allocations: 3.031 kB / 0.527 GB, free: 24.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3325, allocations: 0 / 0.527 GB, free: 24.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.3325, allocations: 0 / 0.527 GB, free: 24.31 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002391/0.3349, allocations: 1.402 MB / 0.5284 GB, free: 23.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.335, allocations: 9.719 kB / 0.5284 GB, free: 23.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.3365, allocations: 271.1 kB / 0.5286 GB, free: 23.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.3381, allocations: 0.8392 MB / 0.5295 GB, free: 22.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.3382, allocations: 89.86 kB / 0.5296 GB, free: 22.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.3385, allocations: 158.1 kB / 0.5297 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3409, allocations: 1.832 MB / 0.5315 GB, free: 21.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.3409, allocations: 15.31 kB / 0.5315 GB, free: 21.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.341, allocations: 62.17 kB / 0.5316 GB, free: 21.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.3413, allocations: 97.98 kB / 0.5317 GB, free: 21.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.3432, allocations: 1.477 MB / 0.5331 GB, free: 21.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006666/0.3498, allocations: 8.308 MB / 0.5412 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3509, allocations: 1.155 MB / 0.5423 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.3515, allocations: 488 kB / 0.5428 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.3515, allocations: 18.52 kB / 0.5428 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3516, allocations: 45.67 kB / 0.5429 GB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.506e-06/0.3516, allocations: 0 / 0.5429 GB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003603/0.3552, allocations: 2.425 MB / 0.5452 GB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3553, allocations: 94.61 kB / 0.5453 GB, free: 12.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/0.3562, allocations: 0.8118 MB / 0.5461 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.3563, allocations: 39.73 kB / 0.5462 GB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.3566, allocations: 0.6842 MB / 0.5468 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3567, allocations: 305 kB / 0.5471 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3568, allocations: 26.31 kB / 0.5471 GB, free: 11.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3569, allocations: 411.9 kB / 0.5475 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.3575, allocations: 451.4 kB / 0.548 GB, free: 10.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.3582, allocations: 0.9977 MB / 0.5489 GB, free: 10.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.3597, allocations: 1.574 MB / 0.5505 GB, free: 8.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3597, allocations: 10.66 kB / 0.5505 GB, free: 8.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002979/0.3627, allocations: 1.753 MB / 0.5522 GB, free: 8.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.3628, allocations: 13.12 kB / 0.5522 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001711/0.3645, allocations: 0.9913 MB / 0.5532 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/0.3654, allocations: 244.5 kB / 0.5534 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.3665, allocations: 311.9 kB / 0.5537 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.3704, allocations: 4.795 MB / 0.5584 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3715, allocations: 54.16 kB / 0.5584 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.3717, allocations: 65.69 kB / 0.5585 GB, free: 3.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (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.0008266/0.3725, allocations: 435.1 kB / 0.5589 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.3727, allocations: 101.5 kB / 0.559 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.3744, allocations: 0.9494 MB / 0.5599 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3745, allocations: 12.38 kB / 0.56 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3745, allocations: 5 kB / 0.56 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3745, allocations: 5.484 kB / 0.56 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.3785, allocations: 2.117 MB / 0.562 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.3785, allocations: 3.031 kB / 0.562 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/0.3794, allocations: 189.5 kB / 0.5622 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.3794, allocations: 5.188 kB / 0.5622 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.3795, allocations: 23.66 kB / 0.5622 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.3795, allocations: 6.297 kB / 0.5623 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3795, allocations: 6.531 kB / 0.5623 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.3814, allocations: 1.392 MB / 0.5636 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.3817, allocations: 168.3 kB / 0.5638 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3818, allocations: 22.69 kB / 0.5638 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.3822, allocations: 24.98 kB / 0.5638 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.3823, allocations: 64.2 kB / 0.5639 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.3824, allocations: 23.33 kB / 0.5639 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007346/0.3831, allocations: 0.5305 MB / 0.5644 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 1.906 kB / 0.5644 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001326/0.3844, allocations: 295.4 kB / 0.5647 GB, free: 0.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * 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.0001638/0.3846, allocations: 127 kB / 0.5648 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.387, allocations: 1.455 MB / 0.5663 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.387, allocations: 0 / 0.5663 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.3876, allocations: 410 kB / 0.5666 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3888, allocations: 183.3 kB / 0.5668 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.3952, allocations: 3.401 MB / 0.5701 GB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.3963, allocations: 1.247 MB / 0.5714 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.3977, allocations: 416.7 kB / 0.5718 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.398, allocations: 83.42 kB / 0.5718 GB, free: 11.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.398, allocations: 0 / 0.5718 GB, free: 11.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01926/0.4173, allocations: 10.18 MB / 0.5818 GB, free: 1.781 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)