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.001391/0.001392, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001278/0.001278, allocations: 189.4 kB / 18 MB, free: 5.098 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.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1798/0.1798, allocations: 38.05 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.89 kB / 457.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3268, allocations: 58.05 MB / 0.5036 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005234/0.3321, allocations: 4.594 MB / 0.5081 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3339, allocations: 1.315 MB / 0.5094 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.3341, allocations: 13.91 kB / 0.5094 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.3353, allocations: 402.8 kB / 0.5098 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.3358, allocations: 245 kB / 0.51 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.3363, allocations: 175.8 kB / 0.5102 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006429/0.337, allocations: 0.5596 MB / 0.5107 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/0.3374, allocations: 291.5 kB / 0.511 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3378, allocations: 253.6 kB / 0.5113 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.3383, allocations: 270 kB / 0.5115 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.3384, allocations: 35.16 kB / 0.5116 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3387, allocations: 130.9 kB / 0.5117 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3389, allocations: 186 kB / 0.5119 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.3391, allocations: 217.8 kB / 0.5121 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.3398, allocations: 0.5132 MB / 0.5126 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3398, allocations: 0 / 0.5126 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3398, allocations: 0 / 0.5126 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3398, allocations: 0 / 0.5126 GB, free: 1.922 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.001045/0.3408, allocations: 0.7158 MB / 0.5133 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3409, allocations: 12.86 kB / 0.5133 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.585e-05/0.341, allocations: 77.81 kB / 0.5133 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.3416, allocations: 87.86 kB / 0.5134 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.3422, allocations: 410.2 kB / 0.5138 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3423, allocations: 27.06 kB / 0.5138 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3424, allocations: 46.09 kB / 0.5139 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.3432, allocations: 477.6 kB / 0.5143 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3432, allocations: 5.891 kB / 0.5144 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3433, allocations: 10.66 kB / 0.5144 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.3434, allocations: 25.67 kB / 0.5144 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.344, allocations: 342.7 kB / 0.5147 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.3464, allocations: 1.699 MB / 0.5164 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.3468, allocations: 147 kB / 0.5165 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.347, allocations: 106.8 kB / 0.5166 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3471, allocations: 18.08 kB / 0.5166 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3471, allocations: 32.78 kB / 0.5167 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3471, allocations: 0.625 kB / 0.5167 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001795/0.3489, allocations: 0.8653 MB / 0.5175 GB, free: 14.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.349, allocations: 83.17 kB / 0.5176 GB, free: 14.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.3494, allocations: 306.4 kB / 0.5179 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3495, allocations: 35 kB / 0.5179 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3497, allocations: 253.5 kB / 0.5182 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.3497, allocations: 66.61 kB / 0.5182 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3499, allocations: 60.8 kB / 0.5183 GB, free: 13.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3501, allocations: 344.6 kB / 0.5186 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3502, allocations: 101.7 kB / 0.5187 GB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3505, allocations: 186.7 kB / 0.5189 GB, free: 13.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.3509, allocations: 315.2 kB / 0.5192 GB, free: 13.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3509, allocations: 1.125 kB / 0.5192 GB, free: 13.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009301/0.3519, allocations: 460.9 kB / 0.5196 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3519, allocations: 6.938 kB / 0.5196 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006155/0.3525, allocations: 297.7 kB / 0.5199 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.353, allocations: 121.3 kB / 0.52 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.3533, allocations: 57.56 kB / 0.5201 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.3562, allocations: 2.381 MB / 0.5224 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.3565, allocations: 19.94 kB / 0.5224 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3565, allocations: 14.75 kB / 0.5224 GB, free: 10.96 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.0002694/0.3568, allocations: 187.3 kB / 0.5226 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.3569, allocations: 29.98 kB / 0.5226 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.3573, allocations: 247.8 kB / 0.5229 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3573, allocations: 6 kB / 0.5229 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3574, allocations: 1.703 kB / 0.5229 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3574, allocations: 1.812 kB / 0.5229 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3586, allocations: 0.7213 MB / 0.5236 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3586, allocations: 1.438 kB / 0.5236 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3588, allocations: 34.8 kB / 0.5236 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.3589, allocations: 30.12 kB / 0.5237 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.359, allocations: 10.88 kB / 0.5237 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.3603, allocations: 1.591 MB / 0.5252 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3603, allocations: 1.375 kB / 0.5252 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.3609, allocations: 435.5 kB / 0.5256 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.361, allocations: 106.4 kB / 0.5257 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.361, allocations: 11.95 kB / 0.5258 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3612, allocations: 6.75 kB / 0.5258 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.3612, allocations: 19.27 kB / 0.5258 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3613, allocations: 4.125 kB / 0.5258 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3615, allocations: 215.1 kB / 0.526 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3615, allocations: 4 kB / 0.526 GB, free: 8.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.362, allocations: 87.47 kB / 0.5261 GB, free: 8.133 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.0009292/0.363, allocations: 0.9605 MB / 0.527 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.3638, allocations: 390.8 kB / 0.5274 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3638, allocations: 4.312 kB / 0.5274 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.3642, allocations: 232 kB / 0.5276 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3647, allocations: 64.45 kB / 0.5277 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.3697, allocations: 3.516 MB / 0.5311 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.3703, allocations: 0.8443 MB / 0.5319 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.3705, allocations: 60.53 kB / 0.532 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3707, allocations: 122.5 kB / 0.5321 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3707, allocations: 0 / 0.5321 GB, free: 3.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.4067, allocations: 7.504 MB / 0.5394 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.89, allocations: 6.812 kB / 0.5394 GB, free: 0.75 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