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.001904/0.001904, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002378/0.002378, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.187/0.187, allocations: 38.55 MB / 353.2 MB, free: 12.33 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.002185/0.002185, allocations: 63.91 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3034, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008626/0.312, allocations: 6.222 MB / 0.5492 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.3157, allocations: 1.8 MB / 0.551 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.3161, allocations: 42.47 kB / 0.551 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3174, allocations: 432.1 kB / 0.5514 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.3184, allocations: 431.4 kB / 0.5519 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.3194, allocations: 354.1 kB / 0.5522 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3206, allocations: 1.031 MB / 0.5532 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.3212, allocations: 424.8 kB / 0.5536 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.322, allocations: 483 kB / 0.5541 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.3229, allocations: 0.5848 MB / 0.5546 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.323, allocations: 65.72 kB / 0.5547 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.3236, allocations: 265.3 kB / 0.555 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.324, allocations: 383.8 kB / 0.5553 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.3245, allocations: 354.4 kB / 0.5557 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3258, allocations: 1.059 MB / 0.5567 GB, free: 6.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3258, allocations: 0 / 0.5567 GB, free: 6.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3258, allocations: 0 / 0.5567 GB, free: 6.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3258, allocations: 0 / 0.5567 GB, free: 6.348 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.002335/0.3281, allocations: 1.068 MB / 0.5577 GB, free: 5.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3282, allocations: 15.98 kB / 0.5578 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.329, allocations: 176.2 kB / 0.5579 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3303, allocations: 0.5284 MB / 0.5584 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.3303, allocations: 49.69 kB / 0.5585 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.3305, allocations: 83.98 kB / 0.5586 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.3321, allocations: 1.01 MB / 0.5595 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3321, allocations: 0 / 0.5595 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.3321, allocations: 31.98 kB / 0.5596 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.3323, allocations: 69.95 kB / 0.5596 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.3339, allocations: 0.9719 MB / 0.5606 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.339, allocations: 2.931 MB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.3402, allocations: 0.6247 MB / 0.5641 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.3408, allocations: 383.4 kB / 0.5644 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.3409, allocations: 12.5 kB / 0.5644 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3409, allocations: 43 kB / 0.5645 GB, free: 14.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/0.3409, allocations: 0 / 0.5645 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004113/0.345, allocations: 2.22 MB / 0.5667 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.3451, allocations: 89.77 kB / 0.5667 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3456, allocations: 421.7 kB / 0.5671 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.3457, allocations: 37.7 kB / 0.5672 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.346, allocations: 376.6 kB / 0.5675 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3462, allocations: 265.7 kB / 0.5678 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.3464, allocations: 150.6 kB / 0.5679 GB, free: 10.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3466, allocations: 382.6 kB / 0.5683 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/0.3472, allocations: 337.8 kB / 0.5686 GB, free: 9.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.3479, allocations: 0.5263 MB / 0.5691 GB, free: 9.211 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.005261/0.3531, allocations: 2.168 MB / 0.5713 GB, free: 6.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3531, allocations: 4 kB / 0.5713 GB, free: 6.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001803/0.355, allocations: 1.015 MB / 0.5722 GB, free: 5.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.355, allocations: 8 kB / 0.5723 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.355, allocations: 8 kB / 0.5723 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.3551, allocations: 41.42 kB / 0.5723 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.3559, allocations: 191.7 kB / 0.5725 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.3573, allocations: 1.374 MB / 0.5738 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.3578, allocations: 35.97 kB / 0.5739 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.3578, allocations: 28 kB / 0.5739 GB, free: 4.156 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.0004272/0.3582, allocations: 281.6 kB / 0.5742 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3584, allocations: 67.5 kB / 0.5742 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.36, allocations: 0.8912 MB / 0.5751 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.36, allocations: 16 kB / 0.5751 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.36, allocations: 4 kB / 0.5751 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.36, allocations: 3.984 kB / 0.5751 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.3634, allocations: 1.747 MB / 0.5768 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3634, allocations: 8 kB / 0.5768 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.3641, allocations: 143.8 kB / 0.577 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.3642, allocations: 40.83 kB / 0.577 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.3643, allocations: 27.92 kB / 0.577 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.3656, allocations: 1.37 MB / 0.5784 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.3656, allocations: 11.94 kB / 0.5784 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.3677, allocations: 1.454 MB / 0.5798 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3679, allocations: 59.64 kB / 0.5799 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.368, allocations: 28.05 kB / 0.5799 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3683, allocations: 27.97 kB / 0.5799 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3684, allocations: 64.28 kB / 0.58 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.3685, allocations: 31.98 kB / 0.58 GB, free: 13.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003605/0.3689, allocations: 275.1 kB / 0.5803 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3689, allocations: 4 kB / 0.5803 GB, free: 13.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.3696, allocations: 179.9 kB / 0.5804 GB, free: 13.14 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.0003685/0.37, allocations: 162.9 kB / 0.5806 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3715, allocations: 0.9075 MB / 0.5815 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3715, allocations: 448 / 0.5815 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.3723, allocations: 0.4934 MB / 0.582 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.3731, allocations: 140.9 kB / 0.5821 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.3764, allocations: 2.073 MB / 0.5841 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.3769, allocations: 412.2 kB / 0.5845 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3771, allocations: 63.36 kB / 0.5846 GB, free: 8.758 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3771, allocations: 0 / 0.5846 GB, free: 8.758 MB / 430.1 MB Notification: Performance of Templates: time 0.01859/0.3957, allocations: 12.35 MB / 0.5966 GB, free: 12.41 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.698554642032832]