Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 107.8 kB / 17.74 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001737, allocations: 181.4 kB / 18.67 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 458.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 58.05 MB / 0.5048 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005004/0.3006, allocations: 4.435 MB / 0.5091 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3027, allocations: 1.409 MB / 0.5105 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.3028, allocations: 12.31 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3039, allocations: 380.5 kB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.3047, allocations: 257.7 kB / 0.5111 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.3056, allocations: 243.7 kB / 0.5113 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.3065, allocations: 0.5574 MB / 0.5119 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.307, allocations: 282.6 kB / 0.5121 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.3073, allocations: 274.4 kB / 0.5124 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.3079, allocations: 356.8 kB / 0.5127 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.308, allocations: 39.81 kB / 0.5128 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.3084, allocations: 216.4 kB / 0.513 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3086, allocations: 236.9 kB / 0.5132 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.3089, allocations: 262.2 kB / 0.5134 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.3096, allocations: 0.6672 MB / 0.5141 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3096, allocations: 5.672 kB / 0.5141 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3096, allocations: 0 / 0.5141 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3096, allocations: 0 / 0.5141 GB, free: 2.062 MB / 382.1 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.001396/0.311, allocations: 0.7599 MB / 0.5148 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3111, allocations: 13.72 kB / 0.5149 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.3118, allocations: 95.73 kB / 0.515 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.3124, allocations: 433.8 kB / 0.5154 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3124, allocations: 28.5 kB / 0.5154 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.3126, allocations: 49.81 kB / 0.5154 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.3135, allocations: 0.6778 MB / 0.5161 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3136, allocations: 2.156 kB / 0.5161 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.3136, allocations: 16.27 kB / 0.5161 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3138, allocations: 51.31 kB / 0.5162 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3149, allocations: 0.6742 MB / 0.5168 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.3182, allocations: 2.431 MB / 0.5192 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3188, allocations: 356.8 kB / 0.5195 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.3191, allocations: 254 kB / 0.5198 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.3192, allocations: 9.703 kB / 0.5198 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3192, allocations: 46.7 kB / 0.5198 GB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.3192, allocations: 0 / 0.5198 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002255/0.3215, allocations: 1.462 MB / 0.5213 GB, free: 13.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3215, allocations: 80.48 kB / 0.5213 GB, free: 13.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3218, allocations: 294.5 kB / 0.5216 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3219, allocations: 31.64 kB / 0.5217 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.322, allocations: 239.2 kB / 0.5219 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3222, allocations: 165.1 kB / 0.522 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.3224, allocations: 90.44 kB / 0.5221 GB, free: 13.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3225, allocations: 349.4 kB / 0.5225 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.3228, allocations: 217.4 kB / 0.5227 GB, free: 12.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.3232, allocations: 363.4 kB / 0.523 GB, free: 12.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.3241, allocations: 0.6329 MB / 0.5236 GB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3241, allocations: 5.375 kB / 0.5236 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00128/0.3254, allocations: 0.7153 MB / 0.5243 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3254, allocations: 16.03 kB / 0.5243 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009049/0.3263, allocations: 0.5173 MB / 0.5249 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.3266, allocations: 77.61 kB / 0.5249 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.327, allocations: 102 kB / 0.525 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.3288, allocations: 1.735 MB / 0.5267 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.3291, allocations: 33.73 kB / 0.5268 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.3291, allocations: 18.05 kB / 0.5268 GB, free: 10.24 MB / 398.1 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.0002395/0.3294, allocations: 214.1 kB / 0.527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.3295, allocations: 40.95 kB / 0.527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.3304, allocations: 0.5612 MB / 0.5276 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3304, allocations: 3.188 kB / 0.5276 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3304, allocations: 4.703 kB / 0.5276 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.3305, allocations: 111.6 kB / 0.5277 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.3306, allocations: 8.875 kB / 0.5277 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3308, allocations: 26.44 kB / 0.5277 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.3309, allocations: 21.23 kB / 0.5277 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001215/0.3321, allocations: 0.7443 MB / 0.5285 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001291/0.3334, allocations: 1.084 MB / 0.5295 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003181/0.3337, allocations: 261.5 kB / 0.5298 GB, free: 8.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3339, allocations: 193.7 kB / 0.5299 GB, free: 8.574 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3339, allocations: 4.031 kB / 0.53 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.3354, allocations: 0.632 MB / 0.5306 GB, free: 8.254 MB / 398.1 MB Notification: Performance of SimCode: time 0.001734/0.3371, allocations: 1.418 MB / 0.532 GB, free: 7.227 MB / 398.1 MB Notification: Performance of Templates: time 0.01095/0.3481, allocations: 6.198 MB / 0.538 GB, free: 4.516 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches