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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001742/0.001742, allocations: 195 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.397/1.397, 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.1811/0.1811, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3771, allocations: 58.05 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005255/0.3824, allocations: 4.596 MB / 0.5081 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3844, allocations: 1.319 MB / 0.5094 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.3846, allocations: 12 kB / 0.5094 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.3857, allocations: 404.4 kB / 0.5098 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.3863, allocations: 254.2 kB / 0.51 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.3868, allocations: 167 kB / 0.5102 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.3873, allocations: 0.5603 MB / 0.5107 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.3878, allocations: 287.5 kB / 0.511 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.3881, allocations: 257.6 kB / 0.5113 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.3885, allocations: 279.4 kB / 0.5115 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.3886, allocations: 29.78 kB / 0.5115 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.3889, allocations: 126.7 kB / 0.5117 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3891, allocations: 195.4 kB / 0.5119 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.3893, allocations: 212.2 kB / 0.5121 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.39, allocations: 0.5091 MB / 0.5126 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.39, allocations: 1.031 kB / 0.5126 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.39, allocations: 4.594 kB / 0.5126 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.39, allocations: 4 kB / 0.5126 GB, free: 1.836 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.001125/0.3911, allocations: 0.6943 MB / 0.5132 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3912, allocations: 13.92 kB / 0.5133 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.3913, allocations: 81.45 kB / 0.5133 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.3919, allocations: 83.34 kB / 0.5134 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.3926, allocations: 418.2 kB / 0.5138 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3926, allocations: 22.66 kB / 0.5138 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3928, allocations: 50.09 kB / 0.5139 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.3936, allocations: 469.7 kB / 0.5143 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3937, allocations: 5.641 kB / 0.5143 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3937, allocations: 15.25 kB / 0.5143 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.3938, allocations: 25.06 kB / 0.5144 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.3945, allocations: 339 kB / 0.5147 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.397, allocations: 1.703 MB / 0.5164 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3974, allocations: 155.8 kB / 0.5165 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3976, allocations: 107 kB / 0.5166 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3976, allocations: 2.125 kB / 0.5166 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3976, allocations: 37.09 kB / 0.5166 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3976, allocations: 0.5312 kB / 0.5166 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001672/0.3993, allocations: 0.852 MB / 0.5175 GB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3994, allocations: 83.56 kB / 0.5176 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.3998, allocations: 302.8 kB / 0.5178 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3999, allocations: 30.8 kB / 0.5179 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.4, allocations: 255.9 kB / 0.5181 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.4001, allocations: 63.03 kB / 0.5182 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.4002, allocations: 65.33 kB / 0.5182 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4003, allocations: 343.8 kB / 0.5186 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4005, allocations: 92.8 kB / 0.5187 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.4008, allocations: 198.7 kB / 0.5188 GB, free: 13.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.4014, allocations: 312 kB / 0.5191 GB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4015, allocations: 1.5 kB / 0.5191 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008869/0.4024, allocations: 456.1 kB / 0.5196 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4024, allocations: 7.531 kB / 0.5196 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006804/0.4031, allocations: 288.5 kB / 0.5199 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/0.4036, allocations: 126 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4038, allocations: 57.09 kB / 0.52 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.407, allocations: 2.386 MB / 0.5224 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.4073, allocations: 20.86 kB / 0.5224 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.4073, allocations: 11.44 kB / 0.5224 GB, free: 10.93 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.0003199/0.4076, allocations: 186.4 kB / 0.5226 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.4077, allocations: 30.03 kB / 0.5226 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.4082, allocations: 251.9 kB / 0.5228 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4082, allocations: 6.031 kB / 0.5229 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4082, allocations: 5.062 kB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4082, allocations: 2.672 kB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.4095, allocations: 0.7123 MB / 0.5236 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4095, allocations: 1.375 kB / 0.5236 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.4098, allocations: 44.58 kB / 0.5236 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.4099, allocations: 28.28 kB / 0.5236 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4099, allocations: 7.453 kB / 0.5236 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.4112, allocations: 1.588 MB / 0.5252 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4112, allocations: 1.375 kB / 0.5252 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.4118, allocations: 424.6 kB / 0.5256 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4119, allocations: 107.2 kB / 0.5257 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.412, allocations: 11.17 kB / 0.5257 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.4121, allocations: 6.625 kB / 0.5257 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.4122, allocations: 20.08 kB / 0.5257 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4122, allocations: 2.906 kB / 0.5257 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.4125, allocations: 216.1 kB / 0.5259 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4125, allocations: 3.938 kB / 0.5259 GB, free: 8.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.413, allocations: 87.72 kB / 0.526 GB, free: 8.102 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.0008801/0.4139, allocations: 0.9531 MB / 0.527 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.4147, allocations: 396.5 kB / 0.5273 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4147, allocations: 0 / 0.5273 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.4151, allocations: 233.1 kB / 0.5276 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.4156, allocations: 73.59 kB / 0.5276 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.4203, allocations: 3.502 MB / 0.531 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.4209, allocations: 0.844 MB / 0.5319 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.4212, allocations: 60.17 kB / 0.5319 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4213, allocations: 126.6 kB / 0.532 GB, free: 3.762 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4214, allocations: 0 / 0.532 GB, free: 3.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.4543, allocations: 7.608 MB / 0.5395 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 16.39 kB / 0.5395 GB, free: 0.6914 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches