Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 106.3 kB / 17.74 MB, free: 5.324 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.001512/0.001512, allocations: 181.4 kB / 18.67 MB, free: 4.406 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1775/0.1775, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.89 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 58.06 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006205/0.3056, allocations: 6.479 MB / 0.5111 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3083, allocations: 1.879 MB / 0.5129 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.3086, allocations: 25.22 kB / 0.513 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3097, allocations: 447.3 kB / 0.5134 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006992/0.3104, allocations: 419.2 kB / 0.5138 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.3112, allocations: 357.9 kB / 0.5141 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.3121, allocations: 1.031 MB / 0.5151 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.3128, allocations: 0.4939 MB / 0.5156 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3133, allocations: 471.7 kB / 0.5161 GB, free: 456 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.3141, allocations: 0.5693 MB / 0.5166 GB, free: 244 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3142, allocations: 66.84 kB / 0.5167 GB, free: 244 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.3147, allocations: 260.7 kB / 0.5169 GB, free: 180 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.3151, allocations: 373.3 kB / 0.5173 GB, free: 44 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.3156, allocations: 425 kB / 0.5177 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3169, allocations: 1.043 MB / 0.5187 GB, free: 15.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3169, allocations: 0 / 0.5187 GB, free: 15.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3169, allocations: 4 kB / 0.5187 GB, free: 15.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3169, allocations: 0 / 0.5187 GB, free: 15.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002134/0.319, allocations: 1.116 MB / 0.5198 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3191, allocations: 19.58 kB / 0.5198 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.3198, allocations: 131.1 kB / 0.5199 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3209, allocations: 0.6062 MB / 0.5205 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.321, allocations: 49.08 kB / 0.5206 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.3212, allocations: 75 kB / 0.5207 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3228, allocations: 1.01 MB / 0.5216 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3228, allocations: 9.016 kB / 0.5217 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.3229, allocations: 26.8 kB / 0.5217 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.3231, allocations: 72.33 kB / 0.5217 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.3248, allocations: 0.9798 MB / 0.5227 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.3296, allocations: 3.25 MB / 0.5259 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3308, allocations: 0.6915 MB / 0.5266 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.3314, allocations: 421.8 kB / 0.527 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.3315, allocations: 19.41 kB / 0.527 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3315, allocations: 42.95 kB / 0.527 GB, free: 11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 4.548e-06/0.3316, allocations: 5.422 kB / 0.527 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.003874/0.3354, allocations: 2.434 MB / 0.5294 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3355, allocations: 88.38 kB / 0.5295 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/0.336, allocations: 438.7 kB / 0.5299 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.3361, allocations: 36.39 kB / 0.5299 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3363, allocations: 358.7 kB / 0.5303 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3365, allocations: 260.6 kB / 0.5305 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.3367, allocations: 150.8 kB / 0.5307 GB, free: 8.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3369, allocations: 379.5 kB / 0.531 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.3374, allocations: 339.3 kB / 0.5314 GB, free: 8.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.3381, allocations: 0.5255 MB / 0.5319 GB, free: 7.863 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.3432, allocations: 2.233 MB / 0.534 GB, free: 6.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3432, allocations: 6 kB / 0.5341 GB, free: 6.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001656/0.3449, allocations: 1.102 MB / 0.5351 GB, free: 5.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3449, allocations: 7.125 kB / 0.5351 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3449, allocations: 9.312 kB / 0.5351 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.3451, allocations: 34.38 kB / 0.5352 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.3459, allocations: 183.8 kB / 0.5354 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.347, allocations: 1.5 MB / 0.5368 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.3475, allocations: 35.62 kB / 0.5369 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.3476, allocations: 36.78 kB / 0.5369 GB, free: 4.379 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.348, allocations: 286.9 kB / 0.5372 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3481, allocations: 59.47 kB / 0.5372 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3497, allocations: 0.9673 MB / 0.5382 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3497, allocations: 5.344 kB / 0.5382 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3497, allocations: 4 kB / 0.5382 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3498, allocations: 141.9 kB / 0.5383 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.3499, allocations: 16.44 kB / 0.5383 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.3503, allocations: 26.19 kB / 0.5383 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.3504, allocations: 40.56 kB / 0.5384 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002042/0.3524, allocations: 1.103 MB / 0.5395 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00195/0.3544, allocations: 1.553 MB / 0.541 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005167/0.3549, allocations: 409.1 kB / 0.5414 GB, free: 1.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.3553, allocations: 303 kB / 0.5417 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3553, allocations: 0 / 0.5417 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.357, allocations: 0.813 MB / 0.5425 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of SimCode: time 0.002676/0.3597, allocations: 2.081 MB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Templates: time 0.01611/0.3758, allocations: 10.04 MB / 0.5543 GB, free: 5.059 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches