Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108.4 kB / 17.06 MB, free: 5.973 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.001713/0.001713, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.179/0.179, allocations: 38.04 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4142, allocations: 58.06 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00845/0.4227, allocations: 4.573 MB / 0.5086 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.4259, allocations: 1.326 MB / 0.5099 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.4265, allocations: 21.28 kB / 0.5099 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.4283, allocations: 397.1 kB / 0.5103 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.4294, allocations: 248.9 kB / 0.5105 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.4302, allocations: 168.2 kB / 0.5107 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4315, allocations: 0.5634 MB / 0.5112 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008488/0.4323, allocations: 286.8 kB / 0.5115 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.4332, allocations: 251.8 kB / 0.5117 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.4343, allocations: 278.4 kB / 0.512 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.4344, allocations: 29.88 kB / 0.512 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.4349, allocations: 127.3 kB / 0.5121 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.4352, allocations: 185.6 kB / 0.5123 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.4357, allocations: 217.8 kB / 0.5125 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.437, allocations: 0.5164 MB / 0.513 GB, free: 2.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.437, allocations: 1.406 kB / 0.513 GB, free: 2.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.437, allocations: 4 kB / 0.513 GB, free: 2.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.4371, allocations: 0 / 0.513 GB, free: 2.164 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001909/0.439, allocations: 0.7003 MB / 0.5137 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.439, allocations: 13.27 kB / 0.5137 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.4397, allocations: 92.12 kB / 0.5138 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.4404, allocations: 417.9 kB / 0.5142 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.4404, allocations: 27.19 kB / 0.5143 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.4406, allocations: 62.03 kB / 0.5143 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.4413, allocations: 469.5 kB / 0.5148 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.4413, allocations: 2.375 kB / 0.5148 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.4414, allocations: 15.23 kB / 0.5148 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.4415, allocations: 28.45 kB / 0.5148 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.442, allocations: 334.3 kB / 0.5151 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.4443, allocations: 1.707 MB / 0.5168 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.4446, allocations: 154.9 kB / 0.5169 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.4448, allocations: 104 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4448, allocations: 5.406 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4449, allocations: 32.67 kB / 0.5171 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.4449, allocations: 0 / 0.5171 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001746/0.4466, allocations: 0.8674 MB / 0.5179 GB, free: 14.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4467, allocations: 80.47 kB / 0.518 GB, free: 14.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.4472, allocations: 305.5 kB / 0.5183 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4472, allocations: 27.14 kB / 0.5183 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4475, allocations: 257.9 kB / 0.5186 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4476, allocations: 66.08 kB / 0.5186 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4477, allocations: 65.55 kB / 0.5187 GB, free: 14.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4479, allocations: 344.5 kB / 0.519 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.4482, allocations: 97.58 kB / 0.5191 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.4485, allocations: 197.5 kB / 0.5193 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.449, allocations: 311.9 kB / 0.5196 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.449, allocations: 1.312 kB / 0.5196 GB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008989/0.4499, allocations: 461.9 kB / 0.52 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4499, allocations: 9.469 kB / 0.52 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005833/0.4505, allocations: 290 kB / 0.5203 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/0.451, allocations: 125.5 kB / 0.5204 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.4512, allocations: 58.75 kB / 0.5205 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.4544, allocations: 2.378 MB / 0.5228 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.4547, allocations: 12.98 kB / 0.5228 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.4548, allocations: 18.22 kB / 0.5228 GB, free: 11.28 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 (29): * Single equations (assignments): 28 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000341/0.4551, allocations: 188.2 kB / 0.523 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.4552, allocations: 28.62 kB / 0.5231 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.4559, allocations: 252.1 kB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.4559, allocations: 2.219 kB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4559, allocations: 9.062 kB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4559, allocations: 1.312 kB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.4574, allocations: 0.7137 MB / 0.524 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4575, allocations: 2.609 kB / 0.524 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4577, allocations: 46.47 kB / 0.5241 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.4578, allocations: 28.55 kB / 0.5241 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.4578, allocations: 4.75 kB / 0.5241 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.4591, allocations: 1.59 MB / 0.5256 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4591, allocations: 1.375 kB / 0.5256 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.4599, allocations: 426.7 kB / 0.526 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.46, allocations: 106.5 kB / 0.5261 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.4601, allocations: 13.41 kB / 0.5262 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.4602, allocations: 11.31 kB / 0.5262 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4603, allocations: 12.78 kB / 0.5262 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.4603, allocations: 4.875 kB / 0.5262 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.4607, allocations: 220.3 kB / 0.5264 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4607, allocations: 0 / 0.5264 GB, free: 8.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.4613, allocations: 86.62 kB / 0.5265 GB, free: 8.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.4614, allocations: 100.8 kB / 0.5266 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007795/0.4622, allocations: 406.5 kB / 0.527 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4622, allocations: 0 / 0.527 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.4625, allocations: 234.5 kB / 0.5272 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4631, allocations: 69.44 kB / 0.5273 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4646, allocations: 0.8614 MB / 0.5281 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4652, allocations: 0.8351 MB / 0.5289 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.4654, allocations: 69.78 kB / 0.529 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.4655, allocations: 27.28 kB / 0.529 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4655, allocations: 0 / 0.529 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.009094/0.4746, allocations: 4.034 MB / 0.5329 GB, free: 5.461 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches