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.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.0019/0.0019, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001915/0.001915, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.613/1.613, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3072/0.3072, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 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.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 1.182e-06/1.182e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.46e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008652/0.008676, allocations: 6.111 MB / 375 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.01153, allocations: 1.398 MB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.01183, allocations: 35.69 kB / 376.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.01236, allocations: 138.8 kB / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.01325, allocations: 401.5 kB / 376.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.01378, allocations: 207.5 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01495, allocations: 0.942 MB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.01533, allocations: 167.2 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.0162, allocations: 0.5413 MB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007273/0.01693, allocations: 450.8 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.565e-05/0.01703, allocations: 48 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.01716, allocations: 48 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.01749, allocations: 279.2 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.0178, allocations: 219.5 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.01877, allocations: 0.6815 MB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01878, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01878, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.01879, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 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.00192/0.02071, allocations: 1.027 MB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.02074, allocations: 11.98 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.02093, allocations: 112.5 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.02214, allocations: 0.5068 MB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.02217, allocations: 37.38 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.02227, allocations: 44.38 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.02316, allocations: 0.5055 MB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.02317, allocations: 7.938 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.02322, allocations: 20 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.02334, allocations: 32.97 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.02394, allocations: 279.7 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.02749, allocations: 2.303 MB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.02825, allocations: 350.2 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.02886, allocations: 239.2 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.0289, allocations: 8 kB / 386 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.02894, allocations: 41.39 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.02894, allocations: 0 / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00315/0.03209, allocations: 1.226 MB / 387.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.03216, allocations: 85.11 kB / 387.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.03272, allocations: 498.5 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.03276, allocations: 33.7 kB / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.03307, allocations: 367.6 kB / 388.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.03325, allocations: 182.6 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.03343, allocations: 108 kB / 388.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003349/0.03376, allocations: 0.5665 MB / 389 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.03413, allocations: 101.2 kB / 389.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.03451, allocations: 282 kB / 389.4 MB, free: 6.293 MB / 362.7 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.002457/0.03697, allocations: 0.8691 MB / 390.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.03697, allocations: 8 kB / 390.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001108/0.03808, allocations: 0.5202 MB / 390.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.0381, allocations: 16.03 kB / 390.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.03811, allocations: 4 kB / 390.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/0.03854, allocations: 107 kB / 390.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.03902, allocations: 107.8 kB / 391 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.0421, allocations: 2.575 MB / 393.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.04241, allocations: 31.97 kB / 393.6 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.04244, allocations: 16 kB / 393.7 MB, free: 1.848 MB / 362.7 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.0002936/0.04274, allocations: 212.4 kB / 393.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.04285, allocations: 63.72 kB / 393.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.04392, allocations: 478.2 kB / 394.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.04393, allocations: 8 kB / 394.4 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.04393, allocations: 4 kB / 394.4 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.04394, allocations: 8.016 kB / 394.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.04613, allocations: 1.089 MB / 395.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.04613, allocations: 8.031 kB / 395.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.04649, allocations: 71.91 kB / 395.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.04693, allocations: 119.6 kB / 395.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.04697, allocations: 15.98 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.05004, allocations: 2.555 MB / 398.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05004, allocations: 3.938 kB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.05136, allocations: 0.7799 MB / 399.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.05145, allocations: 47.61 kB / 399.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.05152, allocations: 15.98 kB / 399.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.05178, allocations: 23.98 kB / 399.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.05187, allocations: 35.88 kB / 399.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.0519, allocations: 23.98 kB / 399.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003472/0.05225, allocations: 307.1 kB / 399.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05225, allocations: 0 / 399.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006161/0.05286, allocations: 148 kB / 399.6 MB, free: 11.61 MB / 378.7 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.0001596/0.05302, allocations: 115.1 kB / 399.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.05414, allocations: 0.5799 MB / 400.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.05414, allocations: 0 / 400.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.05487, allocations: 450.2 kB / 400.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.05558, allocations: 116 kB / 400.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.05763, allocations: 1.164 MB / 402.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.05801, allocations: 321.2 kB / 402.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.05829, allocations: 88.61 kB / 402.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.05839, allocations: 40.5 kB / 402.5 MB, free: 8.621 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0584, allocations: 0 / 402.5 MB, free: 8.621 MB / 378.7 MB Notification: Performance of Templates: time 0.01392/0.07232, allocations: 6.748 MB / 409.2 MB, free: 1.984 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] 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: 4.938705289969221]