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.001968/0.001968, allocations: 105.4 kB / 17.06 MB, free: 5.789 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.002255/0.002255, allocations: 198.9 kB / 18 MB, free: 4.93 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.413/1.413, allocations: 222.9 MB / 241.7 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.1746/0.1746, allocations: 38.04 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 58.06 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005949/0.344, allocations: 4.586 MB / 0.5081 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3461, allocations: 1.325 MB / 0.5094 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3463, allocations: 17.31 kB / 0.5094 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.3473, allocations: 392.2 kB / 0.5098 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3478, allocations: 253.3 kB / 0.51 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3483, allocations: 168 kB / 0.5102 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.3489, allocations: 0.5602 MB / 0.5107 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.3493, allocations: 285 kB / 0.511 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.3496, allocations: 261.7 kB / 0.5113 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.3501, allocations: 282.2 kB / 0.5115 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.3501, allocations: 29.91 kB / 0.5116 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.3504, allocations: 128.1 kB / 0.5117 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.3506, allocations: 181.2 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3508, allocations: 222.1 kB / 0.5121 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.3514, allocations: 0.508 MB / 0.5126 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3514, allocations: 2.047 kB / 0.5126 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3514, allocations: 4 kB / 0.5126 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3514, allocations: 0 / 0.5126 GB, free: 1.848 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.001019/0.3524, allocations: 0.6964 MB / 0.5132 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3525, allocations: 13.55 kB / 0.5133 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.3525, allocations: 77.61 kB / 0.5133 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.3531, allocations: 86.33 kB / 0.5134 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.3538, allocations: 413.9 kB / 0.5138 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3538, allocations: 27.47 kB / 0.5138 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.354, allocations: 50.36 kB / 0.5139 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.3547, allocations: 469.3 kB / 0.5143 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3547, allocations: 1.25 kB / 0.5143 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3547, allocations: 12.83 kB / 0.5143 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.3548, allocations: 31.95 kB / 0.5144 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.3554, allocations: 335.4 kB / 0.5147 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3576, allocations: 1.703 MB / 0.5164 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3579, allocations: 158.4 kB / 0.5165 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3581, allocations: 107.6 kB / 0.5166 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3581, allocations: 2.219 kB / 0.5166 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3581, allocations: 32.95 kB / 0.5166 GB, free: 15.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.3582, allocations: 0 / 0.5166 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001575/0.3597, allocations: 0.8601 MB / 0.5175 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.3598, allocations: 80.19 kB / 0.5176 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.3603, allocations: 305.5 kB / 0.5178 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3603, allocations: 27.59 kB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.3606, allocations: 252.6 kB / 0.5181 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.3607, allocations: 74.09 kB / 0.5182 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3608, allocations: 53.16 kB / 0.5182 GB, free: 13.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3609, allocations: 348.1 kB / 0.5186 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3611, allocations: 97.52 kB / 0.5187 GB, free: 13.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.3613, allocations: 189.8 kB / 0.5188 GB, free: 13.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.3617, allocations: 314 kB / 0.5191 GB, free: 13.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3617, allocations: 2.156 kB / 0.5191 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008845/0.3626, allocations: 457 kB / 0.5196 GB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3626, allocations: 6.219 kB / 0.5196 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005948/0.3632, allocations: 288.7 kB / 0.5199 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.3637, allocations: 135 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3639, allocations: 56.41 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.3668, allocations: 2.38 MB / 0.5224 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3672, allocations: 20.83 kB / 0.5224 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3672, allocations: 14.28 kB / 0.5224 GB, free: 10.94 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.0003176/0.3675, allocations: 182.9 kB / 0.5226 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.3676, allocations: 29.8 kB / 0.5226 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.3682, allocations: 254.1 kB / 0.5228 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3683, allocations: 6.5 kB / 0.5229 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3683, allocations: 1.469 kB / 0.5229 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3683, allocations: 3.984 kB / 0.5229 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.37, allocations: 0.7164 MB / 0.5236 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.37, allocations: 5.438 kB / 0.5236 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3703, allocations: 40.25 kB / 0.5236 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.3705, allocations: 29.75 kB / 0.5236 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3705, allocations: 4.156 kB / 0.5236 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.3723, allocations: 1.59 MB / 0.5252 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3723, allocations: 5.375 kB / 0.5252 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.3731, allocations: 418.5 kB / 0.5256 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3733, allocations: 110.4 kB / 0.5257 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.3734, allocations: 4.297 kB / 0.5257 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3736, allocations: 10.61 kB / 0.5257 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3737, allocations: 14.86 kB / 0.5257 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3737, allocations: 7.875 kB / 0.5257 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3741, allocations: 215.8 kB / 0.5259 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.215e-06/0.3741, allocations: 0 / 0.5259 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009749/0.3751, allocations: 92.03 kB / 0.526 GB, free: 8.109 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.001158/0.3762, allocations: 0.9529 MB / 0.527 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3773, allocations: 403.4 kB / 0.5273 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3773, allocations: 1.625 kB / 0.5273 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.3778, allocations: 226.5 kB / 0.5276 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.3787, allocations: 66.52 kB / 0.5276 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.3855, allocations: 3.504 MB / 0.531 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.3862, allocations: 0.8454 MB / 0.5319 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.3866, allocations: 59.25 kB / 0.5319 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.3869, allocations: 127.9 kB / 0.532 GB, free: 3.773 MB / 398.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3869, allocations: 0 / 0.532 GB, free: 3.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.4322, allocations: 7.618 MB / 0.5395 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 8.344 kB / 0.5395 GB, free: 0.7188 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