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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.303/0.303, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.622e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.01101/0.01105, allocations: 6.2 MB / 375.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004625/0.01568, allocations: 1.803 MB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.01618, allocations: 39.69 kB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.01766, allocations: 433.8 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01874, allocations: 445.3 kB / 377.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.01982, allocations: 358.9 kB / 378.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.02123, allocations: 1.059 MB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.02191, allocations: 412.6 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.02299, allocations: 0.6155 MB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.02386, allocations: 0.5416 MB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.02398, allocations: 68 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.02456, allocations: 259.5 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.02501, allocations: 398.9 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.02542, allocations: 295.3 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.02692, allocations: 1.086 MB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02692, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02692, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.02693, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 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.002365/0.0293, allocations: 1.064 MB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.02934, allocations: 15.98 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.03039, allocations: 228.2 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.03158, allocations: 0.586 MB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.03164, allocations: 45.69 kB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.03182, allocations: 76.53 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.03356, allocations: 1.014 MB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.03359, allocations: 7.938 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.03367, allocations: 27.92 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.03389, allocations: 73.94 kB / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.0356, allocations: 0.9719 MB / 386.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.04099, allocations: 2.944 MB / 389.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.04223, allocations: 0.6369 MB / 390.5 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.04296, allocations: 390.9 kB / 390.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.699e-05/0.04302, allocations: 12.48 kB / 390.9 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.04306, allocations: 39.06 kB / 391 MB, free: 4.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.04307, allocations: 0 / 391 MB, free: 4.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.004587/0.04765, allocations: 2.246 MB / 393.2 MB, free: 2.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.04774, allocations: 93.7 kB / 393.3 MB, free: 2.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.04833, allocations: 417.7 kB / 393.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.04839, allocations: 41.69 kB / 393.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.04872, allocations: 368.5 kB / 394.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.04901, allocations: 273.6 kB / 394.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.04928, allocations: 154.7 kB / 394.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.04952, allocations: 374.8 kB / 394.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.0501, allocations: 341.8 kB / 395.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.05087, allocations: 0.5185 MB / 395.7 MB, free: 16 kB / 362.7 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.005824/0.05669, allocations: 2.166 MB / 397.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.0567, allocations: 4 kB / 397.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00203/0.05873, allocations: 1.062 MB / 399 MB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.05876, allocations: 8 kB / 399 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.05877, allocations: 8 kB / 399 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.05896, allocations: 36.83 kB / 399 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/0.05981, allocations: 188 kB / 399.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.06153, allocations: 1.381 MB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.06205, allocations: 39.97 kB / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.06213, allocations: 28 kB / 400.6 MB, free: 10.91 MB / 378.7 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.000457/0.06259, allocations: 281.1 kB / 400.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.06279, allocations: 87.67 kB / 401 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.06451, allocations: 0.8952 MB / 401.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.06454, allocations: 23.98 kB / 401.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.06455, allocations: 0 / 401.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.06456, allocations: 3.984 kB / 401.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.06813, allocations: 1.763 MB / 403.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.06814, allocations: 4 kB / 403.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.06885, allocations: 147.8 kB / 403.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.06899, allocations: 40.83 kB / 403.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.06905, allocations: 20 kB / 403.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.07047, allocations: 1.366 MB / 405.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.07047, allocations: 8 kB / 405.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.07286, allocations: 1.477 MB / 406.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.073, allocations: 63.58 kB / 406.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.07309, allocations: 27.92 kB / 406.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.07347, allocations: 32.03 kB / 406.9 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.07359, allocations: 64.28 kB / 406.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.07365, allocations: 36.11 kB / 407 MB, free: 4.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003755/0.07403, allocations: 275.1 kB / 407.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07403, allocations: 0 / 407.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007562/0.07478, allocations: 183.9 kB / 407.4 MB, free: 3.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003246/0.07511, allocations: 159 kB / 407.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.07678, allocations: 0.9116 MB / 408.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.07679, allocations: 0 / 408.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.07759, allocations: 497.5 kB / 409 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.07845, allocations: 146.3 kB / 409.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.08173, allocations: 1.864 MB / 411 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.08231, allocations: 416.2 kB / 411.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/0.08288, allocations: 197.2 kB / 411.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.08309, allocations: 60.48 kB / 411.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.08309, allocations: 0 / 411.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01696/0.1, allocations: 7.817 MB / 419.5 MB, free: 7.77 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.131712271948345]