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.001245/0.001245, allocations: 107 kB / 17.74 MB, free: 5.355 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.001222/0.001222, allocations: 190.4 kB / 18.68 MB, free: 4.426 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2884, allocations: 58.05 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00471/0.2931, allocations: 4.419 MB / 0.5091 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.295, allocations: 1.419 MB / 0.5105 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.2952, allocations: 12.69 kB / 0.5105 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.2961, allocations: 380.6 kB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.2966, allocations: 261.4 kB / 0.5111 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.2971, allocations: 236.1 kB / 0.5113 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.2976, allocations: 0.5568 MB / 0.5119 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.298, allocations: 283.2 kB / 0.5121 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.2983, allocations: 265.4 kB / 0.5124 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.2988, allocations: 360 kB / 0.5127 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.2989, allocations: 39.66 kB / 0.5128 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.2993, allocations: 225 kB / 0.513 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.2996, allocations: 237.5 kB / 0.5132 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.2998, allocations: 265.6 kB / 0.5134 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.3006, allocations: 0.6676 MB / 0.5141 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3006, allocations: 5.156 kB / 0.5141 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3006, allocations: 0 / 0.5141 GB, free: 2.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3006, allocations: 0 / 0.5141 GB, free: 2.082 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.001201/0.3019, allocations: 0.78 MB / 0.5149 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3019, allocations: 13.11 kB / 0.5149 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.3025, allocations: 98.77 kB / 0.515 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.3031, allocations: 435.2 kB / 0.5154 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.3031, allocations: 27.84 kB / 0.5154 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3033, allocations: 49.56 kB / 0.5155 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3043, allocations: 0.6778 MB / 0.5161 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3044, allocations: 3 kB / 0.5161 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.3044, allocations: 15.8 kB / 0.5161 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.3046, allocations: 50.89 kB / 0.5162 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3058, allocations: 0.6711 MB / 0.5168 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.3092, allocations: 2.433 MB / 0.5192 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.3098, allocations: 363 kB / 0.5196 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.3101, allocations: 256 kB / 0.5198 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3102, allocations: 8.656 kB / 0.5198 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3102, allocations: 36.95 kB / 0.5199 GB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.777e-06/0.3102, allocations: 0 / 0.5199 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002316/0.3126, allocations: 1.483 MB / 0.5213 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3126, allocations: 81.73 kB / 0.5214 GB, free: 13.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.3129, allocations: 290.5 kB / 0.5217 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.313, allocations: 30.67 kB / 0.5217 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.3131, allocations: 255.9 kB / 0.5219 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3133, allocations: 166.2 kB / 0.5221 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.3134, allocations: 95.05 kB / 0.5222 GB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3136, allocations: 348.1 kB / 0.5225 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.3139, allocations: 217.8 kB / 0.5227 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.3144, allocations: 366.1 kB / 0.5231 GB, free: 12.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.3152, allocations: 0.6327 MB / 0.5237 GB, free: 12.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3152, allocations: 1.625 kB / 0.5237 GB, free: 12.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001258/0.3164, allocations: 0.7162 MB / 0.5244 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3165, allocations: 14.3 kB / 0.5244 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008857/0.3174, allocations: 0.5224 MB / 0.5249 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.3177, allocations: 68.67 kB / 0.525 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3181, allocations: 110.2 kB / 0.5251 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.3198, allocations: 1.735 MB / 0.5268 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.3201, allocations: 31.61 kB / 0.5268 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3201, allocations: 21.11 kB / 0.5268 GB, free: 10.2 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.0002615/0.3204, allocations: 209.1 kB / 0.527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.3205, allocations: 40.28 kB / 0.5271 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.3214, allocations: 0.5694 MB / 0.5276 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3214, allocations: 7.547 kB / 0.5276 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3214, allocations: 0 / 0.5276 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.3215, allocations: 112.5 kB / 0.5277 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.3216, allocations: 8.734 kB / 0.5277 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3218, allocations: 23.56 kB / 0.5278 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.3219, allocations: 22.66 kB / 0.5278 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001172/0.3231, allocations: 0.7455 MB / 0.5285 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001289/0.3244, allocations: 1.092 MB / 0.5296 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003498/0.3247, allocations: 257.3 kB / 0.5298 GB, free: 8.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.3249, allocations: 198.4 kB / 0.53 GB, free: 8.531 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.325, allocations: 4.031 kB / 0.53 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3264, allocations: 0.6287 MB / 0.5306 GB, free: 8.211 MB / 398.1 MB Notification: Performance of SimCode: time 0.001791/0.3282, allocations: 1.423 MB / 0.532 GB, free: 7.176 MB / 398.1 MB Notification: Performance of Templates: time 0.01198/0.3402, allocations: 6.205 MB / 0.5381 GB, free: 4.418 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