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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.184/0.184, allocations: 38.53 MB / 344.5 MB, free: 2.598 MB / 270.1 MB " [Timeout remaining time 180] 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.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 0.001973/0.001973, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3164, allocations: 61.24 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006822/0.3232, allocations: 6.645 MB / 0.5371 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.3266, allocations: 1.896 MB / 0.5389 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.3271, allocations: 29 kB / 0.5389 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.3285, allocations: 455.2 kB / 0.5394 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009499/0.3294, allocations: 429.5 kB / 0.5398 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.3304, allocations: 354.6 kB / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3317, allocations: 1.024 MB / 0.5411 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.3323, allocations: 359.5 kB / 0.5415 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.333, allocations: 471.2 kB / 0.5419 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009909/0.334, allocations: 0.6064 MB / 0.5425 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3341, allocations: 67.12 kB / 0.5426 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.3348, allocations: 275.4 kB / 0.5428 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.3352, allocations: 382.4 kB / 0.5432 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.3356, allocations: 419.9 kB / 0.5436 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3371, allocations: 1.044 MB / 0.5446 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3371, allocations: 5 kB / 0.5446 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3371, allocations: 0 / 0.5446 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3371, allocations: 0 / 0.5446 GB, free: 11.61 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.002544/0.3396, allocations: 1.144 MB / 0.5457 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3397, allocations: 12.27 kB / 0.5457 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.3404, allocations: 133.1 kB / 0.5459 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3416, allocations: 0.6129 MB / 0.5465 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.3416, allocations: 51.84 kB / 0.5465 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.3418, allocations: 85.27 kB / 0.5466 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3435, allocations: 1.009 MB / 0.5476 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.3435, allocations: 1.062 kB / 0.5476 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.3436, allocations: 26.75 kB / 0.5476 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.3438, allocations: 74.03 kB / 0.5477 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.3455, allocations: 0.9767 MB / 0.5486 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.3509, allocations: 3.257 MB / 0.5518 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.352, allocations: 0.6413 MB / 0.5524 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/0.3527, allocations: 387.4 kB / 0.5528 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.056e-05/0.3527, allocations: 12.55 kB / 0.5528 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3528, allocations: 51 kB / 0.5529 GB, free: 5.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.3528, allocations: 0 / 0.5529 GB, free: 5.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004307/0.3571, allocations: 2.449 MB / 0.5553 GB, free: 2.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.3571, allocations: 85.67 kB / 0.5553 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.3577, allocations: 441.8 kB / 0.5558 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.3577, allocations: 37.7 kB / 0.5558 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.358, allocations: 368.4 kB / 0.5562 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.3582, allocations: 269.7 kB / 0.5564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3585, allocations: 150.6 kB / 0.5566 GB, free: 1.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3587, allocations: 378.7 kB / 0.5569 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.3592, allocations: 345.8 kB / 0.5573 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.3599, allocations: 0.5146 MB / 0.5578 GB, free: 288 kB / 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005421/0.3654, allocations: 2.241 MB / 0.5599 GB, free: 13.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3654, allocations: 4 kB / 0.5599 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001788/0.3671, allocations: 1.099 MB / 0.561 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3672, allocations: 4 kB / 0.561 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3672, allocations: 15.94 kB / 0.561 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.3673, allocations: 36.83 kB / 0.5611 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.3681, allocations: 191.7 kB / 0.5613 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.3697, allocations: 1.5 MB / 0.5627 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.3702, allocations: 39.97 kB / 0.5628 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.3703, allocations: 28 kB / 0.5628 GB, free: 10.87 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.0004998/0.3708, allocations: 285.5 kB / 0.5631 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3709, allocations: 67.58 kB / 0.5631 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.3726, allocations: 0.97 MB / 0.5641 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.3726, allocations: 16 kB / 0.5641 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3726, allocations: 0 / 0.5641 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3726, allocations: 7.922 kB / 0.5641 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.3761, allocations: 2.005 MB / 0.566 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3761, allocations: 11.94 kB / 0.5661 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/0.3768, allocations: 147.8 kB / 0.5662 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.3769, allocations: 36.84 kB / 0.5662 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.3769, allocations: 23.98 kB / 0.5663 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3783, allocations: 1.504 MB / 0.5677 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3783, allocations: 8 kB / 0.5677 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.3804, allocations: 1.533 MB / 0.5692 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.3806, allocations: 144.7 kB / 0.5694 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.3807, allocations: 20 kB / 0.5694 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3811, allocations: 35.95 kB / 0.5694 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3812, allocations: 60.38 kB / 0.5695 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.3812, allocations: 24 kB / 0.5695 GB, free: 3.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.3816, allocations: 303.1 kB / 0.5698 GB, free: 3.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3816, allocations: 0 / 0.5698 GB, free: 3.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007459/0.3823, allocations: 183.9 kB / 0.57 GB, free: 3.078 MB / 414.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.0002827/0.3826, allocations: 158.9 kB / 0.5701 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.3842, allocations: 0.9147 MB / 0.571 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3842, allocations: 4 kB / 0.571 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007187/0.3849, allocations: 499.5 kB / 0.5715 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.3858, allocations: 140.6 kB / 0.5716 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.3889, allocations: 2.018 MB / 0.5736 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.3896, allocations: 1.009 MB / 0.5746 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005404/0.3902, allocations: 209.4 kB / 0.5748 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3903, allocations: 59.42 kB / 0.5748 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3904, allocations: 3.938 kB / 0.5748 GB, free: 13.94 MB / 430.1 MB Notification: Performance of Templates: time 0.01629/0.4066, allocations: 8.578 MB / 0.5832 GB, free: 5.418 MB / 430.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.149269656278193]