Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_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.0009845/0.0009847, allocations: 186.4 kB / 16.71 MB, free: 4.961 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.21/1.21, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0007918/0.0007918, allocations: 91.25 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2742/0.2742, allocations: 38.19 MB / 383.7 MB, free: 40.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 12 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 59.15 MB / 0.5007 GB, free: 39.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009044/0.2895, allocations: 9.969 MB / 0.5104 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.2956, allocations: 5.933 MB / 0.5162 GB, free: 29.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.2967, allocations: 71.22 kB / 0.5163 GB, free: 29.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.2974, allocations: 256 kB / 0.5165 GB, free: 29.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.2987, allocations: 0.5815 MB / 0.5171 GB, free: 28.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3001, allocations: 0.6602 MB / 0.5177 GB, free: 28.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.3018, allocations: 2.465 MB / 0.5201 GB, free: 27.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.3037, allocations: 2.18 MB / 0.5223 GB, free: 26.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.3044, allocations: 0.6001 MB / 0.5229 GB, free: 25.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.3053, allocations: 0.9126 MB / 0.5238 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.3054, allocations: 52.88 kB / 0.5238 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.3061, allocations: 432.1 kB / 0.5242 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.3064, allocations: 0.5974 MB / 0.5248 GB, free: 25.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.3069, allocations: 0.6588 MB / 0.5254 GB, free: 24.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3079, allocations: 1.699 MB / 0.5271 GB, free: 24.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3079, allocations: 0 / 0.5271 GB, free: 24.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3079, allocations: 0 / 0.5271 GB, free: 24.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.308, allocations: 0 / 0.5271 GB, free: 24.43 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.001884/0.3098, allocations: 1.395 MB / 0.5285 GB, free: 23.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3099, allocations: 13.75 kB / 0.5285 GB, free: 23.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3112, allocations: 272.3 kB / 0.5287 GB, free: 23.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3122, allocations: 0.8423 MB / 0.5296 GB, free: 22.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.3123, allocations: 84.75 kB / 0.5296 GB, free: 22.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.3126, allocations: 155.1 kB / 0.5298 GB, free: 22.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3145, allocations: 1.845 MB / 0.5316 GB, free: 21.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.3145, allocations: 10.34 kB / 0.5316 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.3146, allocations: 52.42 kB / 0.5316 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.3149, allocations: 95.98 kB / 0.5317 GB, free: 21.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.3167, allocations: 1.486 MB / 0.5332 GB, free: 21.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.3224, allocations: 8.301 MB / 0.5413 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.3233, allocations: 1.164 MB / 0.5424 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.3238, allocations: 486.7 kB / 0.5429 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3239, allocations: 14.77 kB / 0.5429 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3239, allocations: 53.7 kB / 0.543 GB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.3239, allocations: 0 / 0.543 GB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.002904/0.3268, allocations: 2.424 MB / 0.5453 GB, free: 12.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3269, allocations: 90.64 kB / 0.5454 GB, free: 12.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.3276, allocations: 0.8115 MB / 0.5462 GB, free: 12.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.3276, allocations: 44.3 kB / 0.5463 GB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3279, allocations: 0.6841 MB / 0.5469 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.328, allocations: 301.2 kB / 0.5472 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3281, allocations: 34.11 kB / 0.5472 GB, free: 11.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.3282, allocations: 410.1 kB / 0.5476 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.3287, allocations: 449.4 kB / 0.5481 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.3294, allocations: 0.9986 MB / 0.549 GB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3308, allocations: 1.574 MB / 0.5506 GB, free: 9.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3308, allocations: 10.72 kB / 0.5506 GB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002711/0.3335, allocations: 1.75 MB / 0.5523 GB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3335, allocations: 16.25 kB / 0.5523 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001628/0.3352, allocations: 0.986 MB / 0.5533 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/0.336, allocations: 244.2 kB / 0.5535 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.3369, allocations: 312.1 kB / 0.5538 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.3405, allocations: 4.792 MB / 0.5585 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.3412, allocations: 57.77 kB / 0.5585 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.3413, allocations: 66.73 kB / 0.5586 GB, free: 3.641 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.0005915/0.3419, allocations: 432.4 kB / 0.559 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.342, allocations: 99.81 kB / 0.5591 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3435, allocations: 0.95 MB / 0.56 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3435, allocations: 9.094 kB / 0.56 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3435, allocations: 1.094 kB / 0.56 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.3435, allocations: 4.172 kB / 0.56 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.3468, allocations: 2.123 MB / 0.5621 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3468, allocations: 2.25 kB / 0.5621 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.3477, allocations: 189.1 kB / 0.5623 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.3477, allocations: 4.844 kB / 0.5623 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.3478, allocations: 28.55 kB / 0.5623 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.3478, allocations: 5.859 kB / 0.5623 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3478, allocations: 9.406 kB / 0.5623 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3498, allocations: 1.397 MB / 0.5637 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.35, allocations: 168.1 kB / 0.5639 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3501, allocations: 23.19 kB / 0.5639 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3505, allocations: 21.23 kB / 0.5639 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3506, allocations: 59.75 kB / 0.564 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.3507, allocations: 23.8 kB / 0.564 GB, free: 1.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006645/0.3513, allocations: 0.5341 MB / 0.5645 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3513, allocations: 4 kB / 0.5645 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009938/0.3523, allocations: 292.8 kB / 0.5648 GB, free: 0.8711 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.0001409/0.3525, allocations: 132.7 kB / 0.5649 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.3545, allocations: 1.452 MB / 0.5663 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3545, allocations: 1.375 kB / 0.5663 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.3551, allocations: 411.3 kB / 0.5667 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.3561, allocations: 175.6 kB / 0.5669 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.3603, allocations: 3.395 MB / 0.5702 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.3611, allocations: 1.248 MB / 0.5714 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009767/0.3621, 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.0001964/0.3623, allocations: 83.42 kB / 0.5719 GB, free: 11.96 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3623, allocations: 4 kB / 0.5719 GB, free: 11.96 MB / 394.7 MB Notification: Performance of Templates: time 0.01622/0.3785, allocations: 10.19 MB / 0.5819 GB, free: 1.777 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches