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.001286/0.001286, allocations: 112.2 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.001245/0.001245, allocations: 179.1 kB / 18.67 MB, free: 4.438 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1705/0.1705, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3685, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.0054/0.374, allocations: 4.914 MB / 0.5096 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3758, allocations: 1.294 MB / 0.5108 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.376, allocations: 22.28 kB / 0.5108 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.3764, allocations: 121.9 kB / 0.511 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.377, allocations: 322.6 kB / 0.5113 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.3774, allocations: 158.8 kB / 0.5114 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.3782, allocations: 0.6999 MB / 0.5121 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.3784, allocations: 156.2 kB / 0.5123 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.3789, allocations: 311.5 kB / 0.5126 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.3795, allocations: 441.5 kB / 0.513 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.3796, allocations: 48.72 kB / 0.513 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3797, allocations: 47.5 kB / 0.5131 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.38, allocations: 236.9 kB / 0.5133 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.3803, allocations: 281.6 kB / 0.5136 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.3809, allocations: 0.6092 MB / 0.5142 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3809, allocations: 0 / 0.5142 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3809, allocations: 1.25 kB / 0.5142 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.381, allocations: 0.6094 kB / 0.5142 GB, free: 2.047 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.001841/0.3828, allocations: 0.9538 MB / 0.5151 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3829, allocations: 14.23 kB / 0.5151 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.383, allocations: 55.06 kB / 0.5152 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.3842, allocations: 0.618 MB / 0.5158 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3842, allocations: 26.72 kB / 0.5158 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.3843, allocations: 40.2 kB / 0.5158 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.3851, allocations: 0.5491 MB / 0.5164 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3852, allocations: 4.562 kB / 0.5164 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.3852, allocations: 11.47 kB / 0.5164 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/0.3856, allocations: 89.81 kB / 0.5165 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.3862, allocations: 354.7 kB / 0.5168 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.3893, allocations: 2.056 MB / 0.5188 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.3902, allocations: 377.9 kB / 0.5192 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.3907, allocations: 299.2 kB / 0.5195 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3907, allocations: 11.92 kB / 0.5195 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3907, allocations: 36.91 kB / 0.5195 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.3907, allocations: 0 / 0.5195 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004555/0.3953, allocations: 2.54 MB / 0.522 GB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3954, allocations: 81.84 kB / 0.5221 GB, free: 13.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.3958, allocations: 380.9 kB / 0.5224 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.3958, allocations: 30.73 kB / 0.5225 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.396, allocations: 250.6 kB / 0.5227 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.3961, allocations: 134.1 kB / 0.5228 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3963, allocations: 103 kB / 0.5229 GB, free: 12.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3965, allocations: 362.9 kB / 0.5233 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3968, allocations: 243.8 kB / 0.5235 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3973, allocations: 360.3 kB / 0.5238 GB, free: 12.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.3981, allocations: 0.6118 MB / 0.5244 GB, free: 12.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3981, allocations: 1.656 kB / 0.5244 GB, free: 12.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001748/0.3999, allocations: 1.004 MB / 0.5254 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3999, allocations: 11.86 kB / 0.5254 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3999, allocations: 2.688 kB / 0.5254 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/0.4009, allocations: 407.6 kB / 0.5258 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4012, allocations: 79.83 kB / 0.5259 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.4066, allocations: 5.141 MB / 0.5309 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.4071, allocations: 42.89 kB / 0.531 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.4071, allocations: 18.8 kB / 0.531 GB, free: 8.02 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.0003306/0.4075, allocations: 200.3 kB / 0.5312 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.4076, allocations: 46.72 kB / 0.5312 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.4092, allocations: 0.8316 MB / 0.532 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4092, allocations: 11.78 kB / 0.532 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4092, allocations: 2.344 kB / 0.532 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4092, allocations: 3.984 kB / 0.532 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4114, allocations: 1.414 MB / 0.5334 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4114, allocations: 0 / 0.5334 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4116, allocations: 36.11 kB / 0.5335 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.4128, allocations: 450.2 kB / 0.5339 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.4128, allocations: 37.38 kB / 0.5339 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.4181, allocations: 6.718 MB / 0.5405 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4182, allocations: 4.891 kB / 0.5405 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.42, allocations: 1.119 MB / 0.5416 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.4201, allocations: 109.5 kB / 0.5417 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.4202, allocations: 29.3 kB / 0.5417 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.4205, allocations: 40.78 kB / 0.5417 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4207, allocations: 39.03 kB / 0.5418 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.4207, allocations: 15.7 kB / 0.5418 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.421, allocations: 266.3 kB / 0.5421 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.421, allocations: 0 / 0.5421 GB, free: 15.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007611/0.4218, allocations: 154.1 kB / 0.5422 GB, free: 15.07 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.0001618/0.422, allocations: 124.1 kB / 0.5423 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.4236, allocations: 0.904 MB / 0.5432 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4236, allocations: 0 / 0.5432 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.425, allocations: 1.084 MB / 0.5443 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.4258, allocations: 118.2 kB / 0.5444 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.4285, allocations: 1.876 MB / 0.5462 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.429, allocations: 0.8797 MB / 0.5471 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.4291, allocations: 38.58 kB / 0.5471 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4291, allocations: 1.094 kB / 0.5471 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.01591/0.445, allocations: 13.27 MB / 0.5601 GB, free: 14.14 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/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