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.001492/0.001492, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001641/0.001641, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 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.1762/0.1762, allocations: 38.52 MB / 353.2 MB, free: 12.52 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.89 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.00838/0.3022, allocations: 6.685 MB / 0.5498 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3056, allocations: 1.943 MB / 0.5517 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.3059, allocations: 38.5 kB / 0.5517 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.3072, allocations: 447 kB / 0.5521 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.308, allocations: 426.2 kB / 0.5525 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.3089, allocations: 364.1 kB / 0.5529 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.31, allocations: 1.028 MB / 0.5539 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.3107, allocations: 429.7 kB / 0.5543 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.3114, allocations: 478.6 kB / 0.5547 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.3122, allocations: 0.6196 MB / 0.5554 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3123, allocations: 67.44 kB / 0.5554 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.3129, allocations: 280.5 kB / 0.5557 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.3133, allocations: 380.7 kB / 0.556 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.3137, allocations: 430.1 kB / 0.5565 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.3149, allocations: 1.039 MB / 0.5575 GB, free: 5.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.315, allocations: 4 kB / 0.5575 GB, free: 5.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.315, allocations: 7.938 kB / 0.5575 GB, free: 5.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.315, allocations: 3.984 kB / 0.5575 GB, free: 5.82 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.00206/0.317, allocations: 1.068 MB / 0.5585 GB, free: 4.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3171, allocations: 11.98 kB / 0.5585 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.3179, allocations: 164.2 kB / 0.5587 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.319, allocations: 0.5439 MB / 0.5592 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.319, allocations: 49.69 kB / 0.5593 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.3192, allocations: 76.09 kB / 0.5593 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.3207, allocations: 1.01 MB / 0.5603 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.3207, allocations: 3.938 kB / 0.5603 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.3208, allocations: 27.98 kB / 0.5604 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.321, allocations: 73.94 kB / 0.5604 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.3225, allocations: 0.9758 MB / 0.5614 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/0.3274, allocations: 3.18 MB / 0.5645 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3285, allocations: 0.6321 MB / 0.5651 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.3291, allocations: 387.4 kB / 0.5655 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.3291, allocations: 5.438 kB / 0.5655 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3292, allocations: 43.06 kB / 0.5655 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.3292, allocations: 0 / 0.5655 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.003784/0.3329, allocations: 2.227 MB / 0.5677 GB, free: 11.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.333, allocations: 89.7 kB / 0.5678 GB, free: 10.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3335, allocations: 445.8 kB / 0.5682 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.3336, allocations: 37.7 kB / 0.5682 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.3338, allocations: 372.4 kB / 0.5686 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.3341, allocations: 273.6 kB / 0.5689 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3343, allocations: 150.6 kB / 0.569 GB, free: 9.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3345, allocations: 378.7 kB / 0.5694 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.335, allocations: 337.8 kB / 0.5697 GB, free: 8.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.3356, allocations: 0.5224 MB / 0.5702 GB, free: 8.387 MB / 414.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.004936/0.3406, allocations: 2.166 MB / 0.5723 GB, free: 6.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3406, allocations: 0 / 0.5723 GB, free: 6.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001671/0.3422, allocations: 1.023 MB / 0.5733 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3423, allocations: 12.16 kB / 0.5733 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3423, allocations: 4 kB / 0.5733 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.3424, allocations: 36.84 kB / 0.5734 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.3432, allocations: 195.6 kB / 0.5736 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3444, allocations: 1.397 MB / 0.5749 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.3448, allocations: 39.95 kB / 0.575 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.3449, allocations: 35.98 kB / 0.575 GB, free: 3.281 MB / 414.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.0004035/0.3453, allocations: 284.4 kB / 0.5753 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3455, allocations: 63.58 kB / 0.5753 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.3469, allocations: 0.8875 MB / 0.5762 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.347, allocations: 19.98 kB / 0.5762 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.347, allocations: 4 kB / 0.5762 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.347, allocations: 7.938 kB / 0.5762 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.3503, allocations: 1.906 MB / 0.5781 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.3503, allocations: 4 kB / 0.5781 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/0.3509, allocations: 147.8 kB / 0.5782 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.351, allocations: 41.39 kB / 0.5783 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.3511, allocations: 23.83 kB / 0.5783 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.3523, allocations: 1.389 MB / 0.5796 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3523, allocations: 12 kB / 0.5797 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3543, allocations: 1.458 MB / 0.5811 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3545, allocations: 63.5 kB / 0.5811 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.3545, allocations: 28.05 kB / 0.5812 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3549, allocations: 35.97 kB / 0.5812 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.355, allocations: 64.27 kB / 0.5813 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.355, allocations: 24 kB / 0.5813 GB, free: 12.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.3554, allocations: 303.1 kB / 0.5816 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 0.5816 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006858/0.3561, allocations: 188 kB / 0.5818 GB, free: 12.03 MB / 430.1 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.0002482/0.3563, allocations: 146.9 kB / 0.5819 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3578, allocations: 0.9187 MB / 0.5828 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3578, allocations: 0 / 0.5828 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006783/0.3585, allocations: 0.4917 MB / 0.5833 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.3593, allocations: 136.9 kB / 0.5834 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.3624, allocations: 2.081 MB / 0.5854 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.363, allocations: 1.005 MB / 0.5864 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3632, allocations: 59.42 kB / 0.5865 GB, free: 7.043 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3632, allocations: 0 / 0.5865 GB, free: 7.043 MB / 430.1 MB Notification: Performance of Templates: time 0.01768/0.3809, allocations: 12.22 MB / 0.5984 GB, free: 10.84 MB / 446.1 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.125350625952706]