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.002193/0.002193, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.003035/0.003035, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1837/0.1837, allocations: 38.55 MB / 352.4 MB, free: 12.41 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.002247/0.002247, allocations: 63.91 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.01362/0.3814, allocations: 6.214 MB / 0.5485 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.3873, allocations: 1.811 MB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/0.3882, allocations: 37.44 kB / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.3902, allocations: 425.4 kB / 0.5507 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.3922, allocations: 435.3 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3939, allocations: 353.5 kB / 0.5515 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.3964, allocations: 1.03 MB / 0.5525 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3975, allocations: 420.3 kB / 0.5529 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.3992, allocations: 487.1 kB / 0.5533 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.401, allocations: 0.5815 MB / 0.5539 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.4013, allocations: 69.72 kB / 0.554 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.4023, allocations: 265.4 kB / 0.5542 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006986/0.403, allocations: 376.3 kB / 0.5546 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000971/0.404, allocations: 358.5 kB / 0.5549 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.4064, allocations: 1.054 MB / 0.5559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4064, allocations: 0 / 0.5559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4064, allocations: 0 / 0.5559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.74e-05/0.4065, allocations: 0 / 0.5559 GB, free: 6.332 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.003555/0.41, allocations: 1.072 MB / 0.557 GB, free: 5.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4101, allocations: 15.98 kB / 0.557 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4115, allocations: 168.2 kB / 0.5572 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.4136, allocations: 0.5439 MB / 0.5577 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.4137, allocations: 49.66 kB / 0.5577 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.414, allocations: 80.11 kB / 0.5578 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.4166, allocations: 1.006 MB / 0.5588 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.4167, allocations: 7.938 kB / 0.5588 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4168, allocations: 27.94 kB / 0.5588 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.4171, allocations: 73.94 kB / 0.5589 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.4196, allocations: 0.9719 MB / 0.5599 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/0.4273, allocations: 2.919 MB / 0.5627 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.429, allocations: 0.6326 MB / 0.5633 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.4299, allocations: 387.4 kB / 0.5637 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.43, allocations: 8.5 kB / 0.5637 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.43, allocations: 39.06 kB / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/0.43, allocations: 4 kB / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.005854/0.4359, allocations: 2.224 MB / 0.5659 GB, free: 11.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.436, allocations: 89.7 kB / 0.566 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.4367, allocations: 421.8 kB / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.4368, allocations: 45.69 kB / 0.5665 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.4372, allocations: 372.5 kB / 0.5668 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/0.4375, allocations: 269.7 kB / 0.5671 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.4379, allocations: 150.6 kB / 0.5672 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.4381, allocations: 374.7 kB / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.4388, allocations: 341.8 kB / 0.5679 GB, free: 9.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.4396, allocations: 0.5224 MB / 0.5684 GB, free: 9.18 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.00577/0.4454, allocations: 2.159 MB / 0.5705 GB, free: 6.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4454, allocations: 4 kB / 0.5705 GB, free: 6.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001766/0.4472, allocations: 1.016 MB / 0.5715 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4472, allocations: 11.98 kB / 0.5715 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4472, allocations: 12.03 kB / 0.5715 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.4474, allocations: 32.84 kB / 0.5716 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4482, allocations: 191.7 kB / 0.5717 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4495, allocations: 1.37 MB / 0.5731 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.45, allocations: 35.97 kB / 0.5731 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.4501, allocations: 39.97 kB / 0.5732 GB, free: 4.125 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.0004201/0.4505, allocations: 281.7 kB / 0.5734 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4507, allocations: 63.55 kB / 0.5735 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.4523, allocations: 0.8873 MB / 0.5743 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.4523, allocations: 16 kB / 0.5744 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4523, allocations: 0 / 0.5744 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4523, allocations: 11.92 kB / 0.5744 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00355/0.4559, allocations: 1.747 MB / 0.5761 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.4559, allocations: 8 kB / 0.5761 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.4566, allocations: 147.8 kB / 0.5762 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.4567, allocations: 40.83 kB / 0.5763 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.4567, allocations: 16.56 kB / 0.5763 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.458, allocations: 1.377 MB / 0.5776 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.458, allocations: 15.92 kB / 0.5776 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.4601, allocations: 1.45 MB / 0.5791 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4602, allocations: 63.62 kB / 0.5791 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.4603, allocations: 20 kB / 0.5791 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.4607, allocations: 31.97 kB / 0.5792 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4608, allocations: 64.42 kB / 0.5792 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.4609, allocations: 31.97 kB / 0.5793 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.4612, allocations: 279.1 kB / 0.5795 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4612, allocations: 0 / 0.5795 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.462, allocations: 187.9 kB / 0.5797 GB, free: 13.11 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.0002914/0.4623, allocations: 151 kB / 0.5799 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4639, allocations: 0.9157 MB / 0.5807 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4639, allocations: 4 kB / 0.5808 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.4646, allocations: 497.3 kB / 0.5812 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.4655, allocations: 142.3 kB / 0.5814 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.469, allocations: 2.009 MB / 0.5833 GB, free: 9.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4696, allocations: 412.2 kB / 0.5837 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.4702, allocations: 201.2 kB / 0.5839 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.4704, allocations: 51.44 kB / 0.584 GB, free: 8.613 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4704, allocations: 0 / 0.584 GB, free: 8.613 MB / 430.1 MB Notification: Performance of Templates: time 0.01846/0.4888, allocations: 8.75 MB / 0.5925 GB, free: 15.98 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/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.580019349232316]