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.00111/0.00111, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001316/0.001317, allocations: 188 kB / 18 MB, free: 5.219 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.426/1.426, 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.2049/0.2049, allocations: 38.05 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.89 kB / 458.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4003, allocations: 58.05 MB / 0.5041 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005403/0.4057, allocations: 4.59 MB / 0.5086 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.4077, allocations: 1.316 MB / 0.5099 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.408, allocations: 16.34 kB / 0.5099 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.4092, allocations: 397.6 kB / 0.5103 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.4098, allocations: 253 kB / 0.5105 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.4102, allocations: 172.8 kB / 0.5107 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.4108, allocations: 0.5622 MB / 0.5112 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.4113, allocations: 286.2 kB / 0.5115 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.4117, allocations: 258.1 kB / 0.5117 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.4122, allocations: 278.1 kB / 0.512 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.4122, allocations: 34.59 kB / 0.512 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.4125, allocations: 127.4 kB / 0.5122 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.4128, allocations: 185.5 kB / 0.5123 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.4131, allocations: 221.1 kB / 0.5125 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.4138, allocations: 0.511 MB / 0.513 GB, free: 2.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4138, allocations: 1.531 kB / 0.513 GB, free: 2.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4139, allocations: 0 / 0.513 GB, free: 2.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4139, allocations: 0 / 0.513 GB, free: 2.199 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.001189/0.4151, allocations: 0.7002 MB / 0.5137 GB, free: 1.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4151, allocations: 9.438 kB / 0.5137 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.4158, allocations: 83.36 kB / 0.5138 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.4165, allocations: 413.8 kB / 0.5142 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.4165, allocations: 27.86 kB / 0.5142 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4167, allocations: 51.55 kB / 0.5143 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.4174, allocations: 472.6 kB / 0.5147 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4175, allocations: 1.281 kB / 0.5147 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.4175, allocations: 14.53 kB / 0.5148 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4176, allocations: 29.41 kB / 0.5148 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.4182, allocations: 334.9 kB / 0.5151 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.4208, allocations: 1.703 MB / 0.5168 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.4211, allocations: 152.1 kB / 0.5169 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.4214, allocations: 101.9 kB / 0.517 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.4214, allocations: 13.75 kB / 0.517 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4215, allocations: 36.92 kB / 0.5171 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4215, allocations: 0.5 kB / 0.5171 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001932/0.4234, allocations: 0.8543 MB / 0.5179 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.4235, allocations: 84.78 kB / 0.518 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.4239, allocations: 305.8 kB / 0.5183 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.424, allocations: 34.95 kB / 0.5183 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4242, allocations: 248.3 kB / 0.5185 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.4243, allocations: 61.66 kB / 0.5186 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4244, allocations: 62.45 kB / 0.5187 GB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4246, allocations: 343.7 kB / 0.519 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4248, allocations: 97.58 kB / 0.5191 GB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.425, allocations: 193.8 kB / 0.5193 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.4255, allocations: 312.3 kB / 0.5196 GB, free: 13.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4255, allocations: 0 / 0.5196 GB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009604/0.4264, allocations: 461.5 kB / 0.52 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4265, allocations: 6.812 kB / 0.52 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006255/0.4271, allocations: 290.1 kB / 0.5203 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.4276, allocations: 129.1 kB / 0.5204 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.4279, allocations: 52.89 kB / 0.5205 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/0.431, allocations: 2.371 MB / 0.5228 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.4312, allocations: 24.81 kB / 0.5228 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4313, allocations: 19.73 kB / 0.5228 GB, free: 11.35 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.0002627/0.4315, allocations: 186.5 kB / 0.523 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.4316, allocations: 29.28 kB / 0.523 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.4321, allocations: 251.8 kB / 0.5233 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4322, allocations: 2.375 kB / 0.5233 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4322, allocations: 5.25 kB / 0.5233 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4322, allocations: 1.547 kB / 0.5233 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4335, allocations: 0.7177 MB / 0.524 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4335, allocations: 1.219 kB / 0.524 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.4338, allocations: 44.22 kB / 0.524 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.4339, allocations: 28.61 kB / 0.524 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4339, allocations: 7.234 kB / 0.524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.4352, allocations: 1.588 MB / 0.5256 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4353, allocations: 1.375 kB / 0.5256 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.4359, allocations: 425.5 kB / 0.526 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.436, allocations: 106.3 kB / 0.5261 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.436, allocations: 8.188 kB / 0.5261 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4362, allocations: 10.23 kB / 0.5261 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4363, allocations: 14.84 kB / 0.5261 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4363, allocations: 3.734 kB / 0.5261 GB, free: 8.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.4365, allocations: 220.2 kB / 0.5263 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4365, allocations: 0 / 0.5263 GB, free: 8.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005473/0.4371, allocations: 91.84 kB / 0.5264 GB, free: 8.527 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.000187/0.4373, allocations: 100.4 kB / 0.5265 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.4381, allocations: 403.7 kB / 0.5269 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4381, allocations: 0 / 0.5269 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.4384, allocations: 227.4 kB / 0.5271 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4389, allocations: 72.42 kB / 0.5272 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4405, allocations: 0.8543 MB / 0.528 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.441, allocations: 0.8401 MB / 0.5289 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4412, allocations: 64.06 kB / 0.5289 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.4413, allocations: 23.69 kB / 0.5289 GB, free: 6.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4413, allocations: 0 / 0.5289 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Templates: time 0.008991/0.4503, allocations: 4.038 MB / 0.5329 GB, free: 5.625 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