Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.002052/0.002052, 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.00243/0.00243, 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.533/1.533, 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.2156/0.2156, allocations: 38.52 MB / 344.5 MB, free: 2.594 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 61.24 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006124/0.3566, allocations: 6.252 MB / 0.5367 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3588, allocations: 1.419 MB / 0.5381 GB, free: 16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.3591, allocations: 28.31 kB / 0.5381 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.3596, allocations: 139.4 kB / 0.5382 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008257/0.3605, allocations: 398.9 kB / 0.5386 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.361, allocations: 195.1 kB / 0.5388 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.362, allocations: 0.9216 MB / 0.5397 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.3623, allocations: 173 kB / 0.5398 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.3629, allocations: 416.7 kB / 0.5402 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007008/0.3636, allocations: 496.2 kB / 0.5407 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.3637, allocations: 47.84 kB / 0.5408 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3638, allocations: 47.06 kB / 0.5408 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.3641, allocations: 271.3 kB / 0.5411 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.3644, allocations: 317.2 kB / 0.5414 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.3653, allocations: 0.6727 MB / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3653, allocations: 5.25 kB / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3653, allocations: 0 / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3653, allocations: 0 / 0.542 GB, free: 13.42 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001825/0.3671, allocations: 0.9705 MB / 0.543 GB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3672, allocations: 12.95 kB / 0.543 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3673, allocations: 69.64 kB / 0.5431 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.3683, allocations: 0.5661 MB / 0.5436 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3683, allocations: 41.12 kB / 0.5436 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.3684, allocations: 48.88 kB / 0.5437 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3694, allocations: 0.6305 MB / 0.5443 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3694, allocations: 0 / 0.5443 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.3695, allocations: 20.69 kB / 0.5443 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3696, allocations: 34.38 kB / 0.5444 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.3704, allocations: 0.5032 MB / 0.5449 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.3736, allocations: 2.224 MB / 0.547 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.3745, allocations: 473.1 kB / 0.5475 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.3752, allocations: 330.7 kB / 0.5478 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.3752, allocations: 4.375 kB / 0.5478 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3752, allocations: 38.12 kB / 0.5478 GB, free: 9.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.864e-06/0.3752, allocations: 0 / 0.5478 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003637/0.3789, allocations: 1.762 MB / 0.5496 GB, free: 8.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3789, allocations: 86.42 kB / 0.5496 GB, free: 7.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.3794, allocations: 419.3 kB / 0.55 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3795, allocations: 39.02 kB / 0.5501 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3797, allocations: 304.6 kB / 0.5504 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3799, allocations: 170.6 kB / 0.5505 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.38, allocations: 93.83 kB / 0.5506 GB, free: 7.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3802, allocations: 363.4 kB / 0.551 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.3805, allocations: 182 kB / 0.5511 GB, free: 6.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3809, allocations: 309.7 kB / 0.5514 GB, free: 6.531 MB / 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.3835, allocations: 1.233 MB / 0.5526 GB, free: 5.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3835, allocations: 7.938 kB / 0.5526 GB, free: 5.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001229/0.3848, allocations: 0.7149 MB / 0.5533 GB, free: 4.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3848, allocations: 8 kB / 0.5533 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3848, allocations: 4 kB / 0.5534 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.3852, allocations: 132.8 kB / 0.5535 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.3856, allocations: 111.8 kB / 0.5536 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.3887, allocations: 2.607 MB / 0.5561 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3891, allocations: 28.02 kB / 0.5562 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.3891, allocations: 20 kB / 0.5562 GB, free: 1.754 MB / 398.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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.3894, allocations: 236.7 kB / 0.5564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3895, allocations: 55.61 kB / 0.5565 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3907, allocations: 0.6464 MB / 0.5571 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3907, allocations: 4 kB / 0.5571 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3907, allocations: 4 kB / 0.5571 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3907, allocations: 7.922 kB / 0.5571 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.393, allocations: 1.369 MB / 0.5584 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.393, allocations: 0 / 0.5584 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.3934, allocations: 75.89 kB / 0.5585 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.3938, allocations: 149 kB / 0.5587 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3938, allocations: 12 kB / 0.5587 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.3968, allocations: 2.639 MB / 0.5612 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3968, allocations: 3.938 kB / 0.5612 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3983, allocations: 0.9849 MB / 0.5622 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3985, allocations: 128.7 kB / 0.5623 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.3985, allocations: 12 kB / 0.5623 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.3988, allocations: 23.97 kB / 0.5624 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.3989, allocations: 35.94 kB / 0.5624 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3989, allocations: 16 kB / 0.5624 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.3992, allocations: 287.1 kB / 0.5627 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 0 / 0.5627 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006604/0.3999, allocations: 152 kB / 0.5628 GB, free: 10.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,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 (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.4001, allocations: 111.1 kB / 0.5629 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4012, allocations: 0.633 MB / 0.5636 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4012, allocations: 96 / 0.5636 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.4019, allocations: 415.1 kB / 0.564 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.4026, allocations: 133.4 kB / 0.5641 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.4049, allocations: 1.35 MB / 0.5654 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.4056, allocations: 0.937 MB / 0.5663 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.4059, allocations: 112.6 kB / 0.5664 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.406, allocations: 39.38 kB / 0.5665 GB, free: 6.809 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.406, allocations: 0 / 0.5665 GB, free: 6.809 MB / 414.1 MB Notification: Performance of Templates: time 0.01383/0.4199, allocations: 7.09 MB / 0.5734 GB, free: 15.78 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.319600862450898]