Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001799/0.001799, allocations: 191 kB / 18 MB, free: 5.105 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.4/1.4, allocations: 222.9 MB / 241.7 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.1746/0.1746, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3891, allocations: 58.06 MB / 0.5041 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004943/0.3941, allocations: 4.912 MB / 0.5089 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3958, allocations: 1.297 MB / 0.5102 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.396, allocations: 13.84 kB / 0.5102 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.3964, allocations: 122.7 kB / 0.5103 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.397, allocations: 330.7 kB / 0.5106 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.3973, allocations: 157.6 kB / 0.5108 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.398, allocations: 0.6925 MB / 0.5114 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.3982, allocations: 167.4 kB / 0.5116 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.3986, allocations: 307 kB / 0.5119 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.3994, allocations: 435.5 kB / 0.5123 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/0.3995, allocations: 53.34 kB / 0.5124 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3996, allocations: 48.09 kB / 0.5124 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.3999, allocations: 235.9 kB / 0.5126 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.4002, allocations: 281.8 kB / 0.5129 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.4009, allocations: 0.61 MB / 0.5135 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4009, allocations: 0 / 0.5135 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4009, allocations: 0 / 0.5135 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4009, allocations: 1.062 kB / 0.5135 GB, free: 2.055 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001869/0.4028, allocations: 0.9469 MB / 0.5144 GB, free: 1.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4029, allocations: 13.23 kB / 0.5144 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.403, allocations: 59.2 kB / 0.5145 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4041, allocations: 0.6174 MB / 0.5151 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4042, allocations: 26.88 kB / 0.5151 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.4043, allocations: 40.31 kB / 0.5152 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.4052, allocations: 0.5492 MB / 0.5157 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4052, allocations: 0.5312 kB / 0.5157 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.4052, allocations: 16.09 kB / 0.5157 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000387/0.4056, allocations: 85.48 kB / 0.5158 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.4063, allocations: 359 kB / 0.5161 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.4092, allocations: 2.066 MB / 0.5182 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.41, allocations: 378.6 kB / 0.5185 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.4105, allocations: 289.7 kB / 0.5188 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4106, allocations: 7.031 kB / 0.5188 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4106, allocations: 36.75 kB / 0.5188 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.4106, allocations: 0 / 0.5188 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004537/0.4152, allocations: 2.533 MB / 0.5213 GB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4152, allocations: 81.44 kB / 0.5214 GB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.4157, allocations: 389.6 kB / 0.5218 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.4157, allocations: 31.08 kB / 0.5218 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4159, allocations: 249.9 kB / 0.522 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4161, allocations: 134 kB / 0.5222 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4163, allocations: 99.09 kB / 0.5222 GB, free: 13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4164, allocations: 362.6 kB / 0.5226 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.4168, allocations: 242.9 kB / 0.5228 GB, free: 12.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4173, allocations: 361.3 kB / 0.5232 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.4182, allocations: 0.6075 MB / 0.5238 GB, free: 12.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4182, allocations: 1.531 kB / 0.5238 GB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00183/0.42, allocations: 1.005 MB / 0.5247 GB, free: 11.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.42, allocations: 11.25 kB / 0.5248 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4201, allocations: 11.69 kB / 0.5248 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.4211, allocations: 411 kB / 0.5252 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.4214, allocations: 84.12 kB / 0.5252 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.4272, allocations: 5.125 MB / 0.5302 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.4277, allocations: 42.58 kB / 0.5303 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.4277, allocations: 18.77 kB / 0.5303 GB, free: 8.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004116/0.4282, allocations: 212 kB / 0.5305 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.4283, allocations: 43.53 kB / 0.5305 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4299, allocations: 0.8277 MB / 0.5314 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4299, allocations: 7.125 kB / 0.5314 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4299, allocations: 7.375 kB / 0.5314 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.43, allocations: 4.109 kB / 0.5314 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4323, allocations: 1.41 MB / 0.5327 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4323, allocations: 8.016 kB / 0.5328 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4325, allocations: 40.52 kB / 0.5328 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.4337, allocations: 445.5 kB / 0.5332 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.641e-05/0.4338, allocations: 38.53 kB / 0.5333 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.4405, allocations: 6.722 MB / 0.5398 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4405, allocations: 1.188 kB / 0.5398 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.4426, allocations: 1.123 MB / 0.5409 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4427, allocations: 113.4 kB / 0.541 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.4428, allocations: 25.36 kB / 0.5411 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4431, allocations: 40.25 kB / 0.5411 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4433, allocations: 39.16 kB / 0.5411 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.4433, allocations: 12.05 kB / 0.5411 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.4437, allocations: 265.9 kB / 0.5414 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4437, allocations: 4 kB / 0.5414 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001244/0.445, allocations: 158.2 kB / 0.5415 GB, free: 15.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.4452, allocations: 118.5 kB / 0.5417 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.4471, allocations: 0.9039 MB / 0.5425 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4471, allocations: 1.156 kB / 0.5425 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.4486, allocations: 1.08 MB / 0.5436 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.4493, allocations: 126.2 kB / 0.5437 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.4523, allocations: 1.824 MB / 0.5455 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.4529, allocations: 0.88 MB / 0.5464 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.4531, allocations: 71.75 kB / 0.5464 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.4532, allocations: 36.56 kB / 0.5465 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4532, allocations: 0 / 0.5465 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01318/0.4664, allocations: 7.7 MB / 0.554 GB, free: 3.781 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches