Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 114.8 kB / 17.75 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.001751/0.001752, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.419/1.419, 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.1868/0.1868, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3466, allocations: 58.05 MB / 0.5047 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007166/0.3538, allocations: 6.106 MB / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.3568, allocations: 1.944 MB / 0.5126 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.3571, allocations: 23.16 kB / 0.5126 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.3588, allocations: 0.6944 MB / 0.5133 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007436/0.3595, allocations: 373.7 kB / 0.5137 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.3605, allocations: 404.2 kB / 0.514 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3616, allocations: 0.9376 MB / 0.515 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.3624, allocations: 0.5008 MB / 0.5154 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.3629, allocations: 432.5 kB / 0.5159 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.3637, allocations: 0.5326 MB / 0.5164 GB, free: 376 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.3638, allocations: 57.78 kB / 0.5164 GB, free: 376 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.3642, allocations: 237.5 kB / 0.5167 GB, free: 312 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.3647, allocations: 416.7 kB / 0.5171 GB, free: 180 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.3652, allocations: 425.1 kB / 0.5175 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3665, allocations: 1.013 MB / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3665, allocations: 0 / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3665, allocations: 0 / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3665, allocations: 0 / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001778/0.3683, allocations: 1.071 MB / 0.5195 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3684, allocations: 16.22 kB / 0.5195 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.3691, allocations: 140.6 kB / 0.5196 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3699, allocations: 0.5428 MB / 0.5202 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.37, allocations: 61.2 kB / 0.5202 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.3701, allocations: 82.83 kB / 0.5203 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3718, allocations: 1.13 MB / 0.5214 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.3718, allocations: 7.406 kB / 0.5214 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.3719, allocations: 44.5 kB / 0.5215 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.907e-05/0.372, allocations: 51.88 kB / 0.5215 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.3733, allocations: 0.8642 MB / 0.5224 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/0.3784, allocations: 5.024 MB / 0.5273 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.3791, allocations: 423.8 kB / 0.5277 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.3794, allocations: 213.9 kB / 0.5279 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.3795, allocations: 12.81 kB / 0.5279 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3795, allocations: 44.56 kB / 0.5279 GB, free: 9.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.043e-06/0.3795, allocations: 0 / 0.5279 GB, free: 9.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001761/0.3813, allocations: 1.072 MB / 0.529 GB, free: 8.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3814, allocations: 81.62 kB / 0.5291 GB, free: 8.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.3819, allocations: 0.4884 MB / 0.5295 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.382, allocations: 35.73 kB / 0.5296 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.3823, allocations: 454.7 kB / 0.53 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.3824, allocations: 159.1 kB / 0.5302 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.3826, allocations: 151.7 kB / 0.5303 GB, free: 7.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3828, allocations: 366.2 kB / 0.5306 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.3832, allocations: 236.8 kB / 0.5309 GB, free: 7.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.3837, allocations: 0.6178 MB / 0.5315 GB, free: 6.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3848, allocations: 0.9389 MB / 0.5324 GB, free: 6.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3848, allocations: 5.312 kB / 0.5324 GB, free: 6.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001299/0.3861, allocations: 0.9027 MB / 0.5333 GB, free: 5.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3861, allocations: 14.69 kB / 0.5333 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.3862, allocations: 14.22 kB / 0.5333 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.3862, allocations: 17.88 kB / 0.5333 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.3869, allocations: 214.3 kB / 0.5335 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/0.387, allocations: 29.45 kB / 0.5336 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.3874, allocations: 59.2 kB / 0.5336 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.3875, allocations: 44.12 kB / 0.5337 GB, free: 5.648 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.3878, allocations: 311.5 kB / 0.534 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3879, allocations: 52.22 kB / 0.534 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008975/0.3888, allocations: 0.5506 MB / 0.5345 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3889, allocations: 8.438 kB / 0.5345 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3889, allocations: 1.094 kB / 0.5345 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3889, allocations: 5.016 kB / 0.5346 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.3908, allocations: 1.337 MB / 0.5359 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3908, allocations: 2.719 kB / 0.5359 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.3912, allocations: 111.5 kB / 0.536 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3913, allocations: 12.47 kB / 0.536 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3913, allocations: 9.312 kB / 0.536 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3913, allocations: 4.094 kB / 0.536 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3913, allocations: 6.969 kB / 0.536 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.3921, allocations: 0.6541 MB / 0.5366 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3922, allocations: 125.9 kB / 0.5368 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.3923, allocations: 17.5 kB / 0.5368 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3925, allocations: 17.42 kB / 0.5368 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.3926, allocations: 32.23 kB / 0.5368 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3926, allocations: 19.56 kB / 0.5368 GB, free: 3.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.393, allocations: 335.9 kB / 0.5372 GB, free: 3.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.393, allocations: 3.938 kB / 0.5372 GB, free: 3.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006804/0.3937, allocations: 158.3 kB / 0.5373 GB, free: 3.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.000129/0.3938, allocations: 111.6 kB / 0.5374 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008826/0.3947, allocations: 0.6132 MB / 0.538 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3947, allocations: 0 / 0.538 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.395, allocations: 242.7 kB / 0.5383 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.3957, allocations: 114.7 kB / 0.5384 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3978, allocations: 1.42 MB / 0.5397 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.3984, allocations: 1.004 MB / 0.5407 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.3986, allocations: 59.55 kB / 0.5408 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3986, allocations: 0 / 0.5408 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of Templates: time 0.01082/0.4094, allocations: 8.276 MB / 0.5489 GB, free: 10.29 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches