Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 183.7 kB / 16.71 MB, free: 4.973 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.185/1.185, allocations: 225.7 MB / 243.2 MB, free: 8.504 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.0007309/0.000731, allocations: 98.75 kB / 294.4 MB, free: 9.52 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.2654/0.2654, allocations: 38.19 MB / 383.7 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.257, allocations: 59.14 MB / 0.5007 GB, free: 39.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004128/0.2612, allocations: 4.571 MB / 0.5051 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2634, allocations: 2.385 MB / 0.5075 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2636, allocations: 27.28 kB / 0.5075 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.2637, allocations: 57.89 kB / 0.5075 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.2642, allocations: 239.1 kB / 0.5078 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.2647, allocations: 215 kB / 0.508 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.2654, allocations: 0.8622 MB / 0.5088 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.2661, allocations: 0.7706 MB / 0.5096 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.2664, allocations: 207.9 kB / 0.5098 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.2668, allocations: 357.8 kB / 0.5101 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.2668, allocations: 22.66 kB / 0.5101 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.2672, allocations: 234.7 kB / 0.5104 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2674, allocations: 209.1 kB / 0.5106 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.2676, allocations: 254.3 kB / 0.5108 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.2681, allocations: 0.6359 MB / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2682, allocations: 1.906 kB / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2682, allocations: 0 / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2682, allocations: 0.9375 kB / 0.5114 GB, free: 34.79 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008595/0.269, allocations: 0.6889 MB / 0.5121 GB, free: 34.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.535e-05/0.2691, allocations: 9.031 kB / 0.5121 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.2696, allocations: 98.78 kB / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.27, allocations: 407.6 kB / 0.5126 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.27, allocations: 34.11 kB / 0.5126 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.2701, allocations: 48.81 kB / 0.5127 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.2709, allocations: 0.6735 MB / 0.5133 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2709, allocations: 0 / 0.5133 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.2709, allocations: 17.75 kB / 0.5133 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.2711, allocations: 52.41 kB / 0.5134 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.2718, allocations: 0.6718 MB / 0.5141 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.2743, allocations: 2.431 MB / 0.5164 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.2747, allocations: 358.1 kB / 0.5168 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.275, allocations: 255.5 kB / 0.517 GB, free: 31.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.275, allocations: 13.3 kB / 0.517 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.275, allocations: 41.48 kB / 0.5171 GB, free: 31.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.623e-06/0.2751, allocations: 0 / 0.5171 GB, free: 31.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001766/0.2768, allocations: 1.471 MB / 0.5185 GB, free: 30.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.2769, allocations: 83.77 kB / 0.5186 GB, free: 30.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2771, allocations: 279.6 kB / 0.5188 GB, free: 30.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2771, allocations: 31.77 kB / 0.5189 GB, free: 30.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.2772, allocations: 247.3 kB / 0.5191 GB, free: 30.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.2773, allocations: 162.4 kB / 0.5193 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2773, allocations: 4 kB / 0.5193 GB, free: 30.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.2774, allocations: 348.4 kB / 0.5196 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.2776, allocations: 224.7 kB / 0.5198 GB, free: 29.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2779, allocations: 357 kB / 0.5202 GB, free: 29.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.2786, allocations: 0.6364 MB / 0.5208 GB, free: 29.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2786, allocations: 2.812 kB / 0.5208 GB, free: 29.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009889/0.2796, allocations: 0.7106 MB / 0.5215 GB, free: 28.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2796, allocations: 9.906 kB / 0.5215 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006921/0.2803, allocations: 0.5155 MB / 0.522 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.2806, allocations: 75.41 kB / 0.5221 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.281, allocations: 102.2 kB / 0.5222 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2822, allocations: 1.603 MB / 0.5237 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.2824, allocations: 36.34 kB / 0.5238 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.2825, allocations: 20.78 kB / 0.5238 GB, free: 27.18 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.2827, allocations: 213.2 kB / 0.524 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.2828, allocations: 32.34 kB / 0.524 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/0.2835, allocations: 0.5619 MB / 0.5246 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.2835, allocations: 23.47 kB / 0.5246 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2835, allocations: 0 / 0.5246 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2836, allocations: 0 / 0.5246 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.2851, allocations: 1.199 MB / 0.5258 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2851, allocations: 0 / 0.5258 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.2855, allocations: 78.5 kB / 0.5258 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2855, allocations: 7.25 kB / 0.5258 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.2856, allocations: 17.67 kB / 0.5259 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2856, allocations: 3.25 kB / 0.5259 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2856, allocations: 0 / 0.5259 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.2865, allocations: 0.925 MB / 0.5268 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.2865, allocations: 108.8 kB / 0.5269 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2866, allocations: 14.36 kB / 0.5269 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2868, allocations: 23.94 kB / 0.5269 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.2868, allocations: 19.2 kB / 0.5269 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.2869, allocations: 15.95 kB / 0.5269 GB, free: 25.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.287, allocations: 193 kB / 0.5271 GB, free: 25.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.287, allocations: 0 / 0.5271 GB, free: 25.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.2875, allocations: 131.6 kB / 0.5272 GB, free: 25.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * 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.0001915/0.2877, allocations: 139.8 kB / 0.5274 GB, free: 25.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.2885, allocations: 0.6644 MB / 0.528 GB, free: 25.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2885, allocations: 0 / 0.528 GB, free: 25.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.2888, allocations: 261.6 kB / 0.5283 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.2893, allocations: 74.44 kB / 0.5283 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2906, allocations: 1.436 MB / 0.5297 GB, free: 24.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2909, allocations: 0.8707 MB / 0.5306 GB, free: 23.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.2912, allocations: 125.7 kB / 0.5307 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.2913, allocations: 37.09 kB / 0.5308 GB, free: 23.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2913, allocations: 0 / 0.5308 GB, free: 23.33 MB / 378.7 MB Notification: Performance of Templates: time 0.00664/0.298, allocations: 4.203 MB / 0.5349 GB, free: 23 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches