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.001464/0.001464, allocations: 110.2 kB / 17.75 MB, free: 5.332 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.001629/0.001629, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.173/0.173, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 58.05 MB / 0.5048 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007237/0.3053, allocations: 6.089 MB / 0.5107 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3078, allocations: 1.412 MB / 0.5121 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.3083, allocations: 23.69 kB / 0.5121 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.3089, allocations: 146.8 kB / 0.5123 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.31, allocations: 386 kB / 0.5126 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.3106, allocations: 199.1 kB / 0.5128 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.3119, allocations: 0.9142 MB / 0.5137 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.3123, allocations: 279.3 kB / 0.514 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007795/0.3131, allocations: 415.7 kB / 0.5144 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008776/0.314, allocations: 465 kB / 0.5148 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3141, allocations: 55.98 kB / 0.5149 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3142, allocations: 46.91 kB / 0.5149 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3145, allocations: 257.8 kB / 0.5152 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.3149, allocations: 323.9 kB / 0.5155 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.3156, allocations: 0.6793 MB / 0.5161 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3156, allocations: 0 / 0.5161 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3156, allocations: 1.125 kB / 0.5161 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3157, allocations: 0 / 0.5161 GB, free: 0.6445 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.001564/0.3172, allocations: 0.9679 MB / 0.5171 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3173, allocations: 12.52 kB / 0.5171 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3174, allocations: 69.91 kB / 0.5172 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3185, allocations: 0.5581 MB / 0.5177 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3185, allocations: 45.08 kB / 0.5177 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3186, allocations: 48.66 kB / 0.5178 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3198, allocations: 0.632 MB / 0.5184 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3198, allocations: 1.406 kB / 0.5184 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.3198, allocations: 21.22 kB / 0.5184 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.32, allocations: 34.28 kB / 0.5185 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.3208, allocations: 0.5053 MB / 0.519 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.324, allocations: 2.222 MB / 0.5211 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.3248, allocations: 0.4921 MB / 0.5216 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.3255, allocations: 349.9 kB / 0.5219 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.3256, allocations: 5.672 kB / 0.5219 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3256, allocations: 45.62 kB / 0.522 GB, free: 13.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.3256, allocations: 1.062 kB / 0.522 GB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.00344/0.3291, allocations: 1.762 MB / 0.5237 GB, free: 12.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3291, allocations: 85.88 kB / 0.5238 GB, free: 12.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.3296, allocations: 422.2 kB / 0.5242 GB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.3297, allocations: 34.86 kB / 0.5242 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.3299, allocations: 301.8 kB / 0.5245 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.33, allocations: 168.3 kB / 0.5247 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3302, allocations: 95.77 kB / 0.5248 GB, free: 11.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3303, allocations: 363.2 kB / 0.5251 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.3306, allocations: 182.4 kB / 0.5253 GB, free: 11.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.331, allocations: 315.4 kB / 0.5256 GB, free: 10.93 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.002635/0.3337, allocations: 1.23 MB / 0.5268 GB, free: 10.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3337, allocations: 1.219 kB / 0.5268 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001222/0.3349, allocations: 0.7197 MB / 0.5275 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3349, allocations: 8.219 kB / 0.5275 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3349, allocations: 2.969 kB / 0.5275 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.3354, allocations: 139 kB / 0.5276 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3358, allocations: 120.8 kB / 0.5278 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.3388, allocations: 2.606 MB / 0.5303 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3393, allocations: 25.75 kB / 0.5303 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.3393, allocations: 19.95 kB / 0.5303 GB, free: 8.051 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.0003805/0.3397, allocations: 232.1 kB / 0.5306 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.3398, allocations: 58.86 kB / 0.5306 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3411, allocations: 0.6471 MB / 0.5313 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3411, allocations: 3.875 kB / 0.5313 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3411, allocations: 4 kB / 0.5313 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3413, allocations: 129 kB / 0.5314 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.3414, allocations: 13.78 kB / 0.5314 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3416, allocations: 20.67 kB / 0.5314 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.3417, allocations: 39.23 kB / 0.5315 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001744/0.3435, allocations: 0.8435 MB / 0.5323 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001353/0.3448, allocations: 1.026 MB / 0.5333 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003914/0.3452, allocations: 227.5 kB / 0.5335 GB, free: 6.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.3456, allocations: 292.2 kB / 0.5338 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3457, allocations: 0 / 0.5338 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3471, allocations: 0.5657 MB / 0.5343 GB, free: 5.762 MB / 398.1 MB Notification: Performance of SimCode: time 0.002599/0.3497, allocations: 1.756 MB / 0.536 GB, free: 4.461 MB / 398.1 MB Notification: Performance of Templates: time 0.01452/0.3642, allocations: 7.184 MB / 0.5431 GB, free: 0.7422 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