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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 192.5 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.53 MB / 345 MB, free: 2.672 MB / 270.1 MB [Timeout remaining time 90] 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.002051/0.002051, allocations: 63.89 kB / 482.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 61.24 MB / 0.5309 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007092/0.3239, allocations: 6.588 MB / 0.5374 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.3272, allocations: 1.896 MB / 0.5392 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.3276, allocations: 30.03 kB / 0.5393 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.329, allocations: 445.8 kB / 0.5397 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.33, allocations: 434.2 kB / 0.5401 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.331, allocations: 345.8 kB / 0.5404 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3322, allocations: 1.028 MB / 0.5414 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.3328, allocations: 416.2 kB / 0.5418 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.3335, allocations: 467.2 kB / 0.5423 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.3343, allocations: 0.6117 MB / 0.5429 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3345, allocations: 65.47 kB / 0.5429 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.335, allocations: 272.6 kB / 0.5432 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.3354, allocations: 380.6 kB / 0.5436 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.3358, allocations: 416.9 kB / 0.544 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3371, allocations: 1.052 MB / 0.545 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3371, allocations: 1.062 kB / 0.545 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3371, allocations: 0 / 0.545 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3371, allocations: 0 / 0.545 GB, free: 11.64 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.00223/0.3394, allocations: 1.14 MB / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3394, allocations: 13.02 kB / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007201/0.3401, allocations: 132.9 kB / 0.5462 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3413, allocations: 0.6132 MB / 0.5468 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.3413, allocations: 51.67 kB / 0.5469 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.3415, allocations: 77.53 kB / 0.547 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3432, allocations: 1.012 MB / 0.5479 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3432, allocations: 2.406 kB / 0.5479 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.3433, allocations: 25.06 kB / 0.548 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.3435, allocations: 75.66 kB / 0.548 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.345, allocations: 0.9802 MB / 0.549 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/0.3503, allocations: 3.257 MB / 0.5522 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3514, allocations: 0.6417 MB / 0.5528 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.352, allocations: 379.5 kB / 0.5532 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.3521, allocations: 21.41 kB / 0.5532 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.3521, allocations: 47.06 kB / 0.5532 GB, free: 5.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/0.3521, allocations: 4 kB / 0.5532 GB, free: 5.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004207/0.3563, allocations: 2.441 MB / 0.5556 GB, free: 3.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3564, allocations: 85.67 kB / 0.5557 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.3569, allocations: 445.8 kB / 0.5561 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.357, allocations: 41.64 kB / 0.5562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3573, allocations: 364.5 kB / 0.5565 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.3575, allocations: 277.6 kB / 0.5568 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.3577, allocations: 146.6 kB / 0.5569 GB, free: 1.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3579, allocations: 378.7 kB / 0.5573 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.3584, allocations: 341.8 kB / 0.5576 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.3591, allocations: 0.5185 MB / 0.5581 GB, free: 384 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.005214/0.3644, allocations: 2.234 MB / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.3644, allocations: 4 kB / 0.5603 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001849/0.3662, allocations: 1.102 MB / 0.5614 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3662, allocations: 8 kB / 0.5614 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3663, allocations: 4.656 kB / 0.5614 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.3664, allocations: 52.77 kB / 0.5614 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.3672, allocations: 187.7 kB / 0.5616 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3686, allocations: 1.5 MB / 0.5631 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.3691, allocations: 31.98 kB / 0.5631 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.3692, allocations: 31.98 kB / 0.5631 GB, free: 10.96 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.0004753/0.3697, allocations: 282.6 kB / 0.5634 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3698, allocations: 63.64 kB / 0.5635 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.3714, allocations: 0.97 MB / 0.5644 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.3715, allocations: 16 kB / 0.5644 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3715, allocations: 4 kB / 0.5644 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.3715, allocations: 7.922 kB / 0.5644 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.375, allocations: 2.005 MB / 0.5664 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.375, allocations: 4.141 kB / 0.5664 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.3757, allocations: 151.8 kB / 0.5666 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.3758, allocations: 40.83 kB / 0.5666 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.3759, allocations: 23.98 kB / 0.5666 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3772, allocations: 1.504 MB / 0.5681 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.3772, allocations: 4 kB / 0.5681 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.3794, allocations: 1.533 MB / 0.5696 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.3796, allocations: 136.7 kB / 0.5697 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.3797, allocations: 28.05 kB / 0.5697 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.38, allocations: 31.95 kB / 0.5698 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3801, allocations: 64.38 kB / 0.5698 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.3802, allocations: 24 kB / 0.5699 GB, free: 3.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.3806, allocations: 299.1 kB / 0.5701 GB, free: 3.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3806, allocations: 0 / 0.5701 GB, free: 3.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.3814, allocations: 187.9 kB / 0.5703 GB, free: 3.18 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.0003049/0.3817, allocations: 167 kB / 0.5705 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.3833, allocations: 0.9112 MB / 0.5714 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3833, allocations: 3.938 kB / 0.5714 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.384, allocations: 499.1 kB / 0.5719 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.3849, allocations: 140.6 kB / 0.572 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.3883, allocations: 2.075 MB / 0.574 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.389, allocations: 1.02 MB / 0.575 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.3892, allocations: 59.42 kB / 0.5751 GB, free: 14.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3892, allocations: 3.938 kB / 0.5751 GB, free: 14.17 MB / 430.1 MB Notification: Performance of Templates: time 0.01733/0.4065, allocations: 12.21 MB / 0.587 GB, free: 1.98 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/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