Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.001003/0.001003, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1925/0.1925, allocations: 38.03 MB / 330.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007293/0.3041, allocations: 6.09 MB / 0.5107 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3067, allocations: 1.416 MB / 0.5121 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005371/0.3072, allocations: 27.12 kB / 0.5121 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.3078, allocations: 138.8 kB / 0.5123 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.309, allocations: 383.6 kB / 0.5126 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.3097, allocations: 191 kB / 0.5128 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3109, allocations: 0.9216 MB / 0.5137 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.3114, allocations: 283.3 kB / 0.514 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.312, allocations: 415.3 kB / 0.5144 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.3126, allocations: 464.1 kB / 0.5148 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/0.3127, allocations: 47.38 kB / 0.5149 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3128, allocations: 47.81 kB / 0.5149 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.3131, allocations: 262.9 kB / 0.5152 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.3135, allocations: 326.1 kB / 0.5155 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008711/0.3144, allocations: 0.6695 MB / 0.5161 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3144, allocations: 0 / 0.5161 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3144, allocations: 0 / 0.5161 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3144, allocations: 5.406 kB / 0.5161 GB, free: 0.6914 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001611/0.3161, allocations: 0.9519 MB / 0.5171 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3161, allocations: 13.97 kB / 0.5171 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3163, allocations: 68.67 kB / 0.5171 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3174, allocations: 0.5577 MB / 0.5177 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3174, allocations: 41.09 kB / 0.5177 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3175, allocations: 48.48 kB / 0.5178 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.3187, allocations: 0.6239 MB / 0.5184 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3187, allocations: 2.109 kB / 0.5184 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.3188, allocations: 19.97 kB / 0.5184 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.3189, allocations: 34.16 kB / 0.5184 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/0.3197, allocations: 0.5058 MB / 0.5189 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.3228, allocations: 2.22 MB / 0.5211 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.3237, allocations: 0.4968 MB / 0.5216 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.3243, allocations: 355.8 kB / 0.5219 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3244, allocations: 8.125 kB / 0.5219 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3244, allocations: 38.69 kB / 0.522 GB, free: 13.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3244, allocations: 0 / 0.522 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003484/0.3279, allocations: 1.741 MB / 0.5237 GB, free: 12.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.328, allocations: 85.83 kB / 0.5237 GB, free: 12.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.3285, allocations: 421.6 kB / 0.5241 GB, free: 12.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3286, allocations: 36.33 kB / 0.5242 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3288, allocations: 296 kB / 0.5245 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.329, allocations: 169 kB / 0.5246 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3291, allocations: 93.42 kB / 0.5247 GB, free: 11.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3293, allocations: 364.1 kB / 0.5251 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3296, allocations: 187.1 kB / 0.5252 GB, free: 11.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.33, allocations: 315.3 kB / 0.5255 GB, free: 11.02 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.3327, allocations: 1.237 MB / 0.5267 GB, free: 10.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3327, allocations: 5.188 kB / 0.5267 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001289/0.334, allocations: 0.7083 MB / 0.5274 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.334, allocations: 7.062 kB / 0.5274 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3341, allocations: 2.875 kB / 0.5274 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.3344, allocations: 143.5 kB / 0.5276 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3349, allocations: 108.1 kB / 0.5277 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.3378, allocations: 2.608 MB / 0.5302 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.3382, allocations: 24.67 kB / 0.5303 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.3383, allocations: 20.8 kB / 0.5303 GB, free: 8.148 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.3386, allocations: 222.5 kB / 0.5305 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.3387, allocations: 63.5 kB / 0.5306 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.3399, allocations: 0.6466 MB / 0.5312 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3399, allocations: 3.516 kB / 0.5312 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3399, allocations: 1.031 kB / 0.5312 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.34, allocations: 124.8 kB / 0.5313 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.3401, allocations: 13.12 kB / 0.5313 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3403, allocations: 24.91 kB / 0.5313 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.3404, allocations: 39.34 kB / 0.5314 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001568/0.342, allocations: 0.8435 MB / 0.5322 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001149/0.3432, allocations: 1.011 MB / 0.5332 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003194/0.3435, allocations: 234.7 kB / 0.5334 GB, free: 6.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.3438, allocations: 288 kB / 0.5337 GB, free: 6.238 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3438, allocations: 1.156 kB / 0.5337 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.3451, allocations: 0.5687 MB / 0.5342 GB, free: 5.855 MB / 398.1 MB Notification: Performance of SimCode: time 0.00217/0.3473, allocations: 1.737 MB / 0.5359 GB, free: 4.574 MB / 398.1 MB Notification: Performance of Templates: time 0.01261/0.3599, allocations: 7.186 MB / 0.543 GB, free: 0.832 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches