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.001574/0.001574, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00159/0.00159, allocations: 164 kB / 24.99 MB, free: 8.758 MB / 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2399/0.2399, allocations: 29.41 MB / 291.2 MB, free: 2.508 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.123e-06/1.123e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.267e-05, allocations: 5.703 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005437/0.00546, allocations: 6.18 MB / 375.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.007551, allocations: 1.402 MB / 377.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.007897, allocations: 35.69 kB / 377.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.008345, allocations: 130.9 kB / 377.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.009, allocations: 405.5 kB / 377.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.009394, allocations: 199.5 kB / 377.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.01036, allocations: 0.942 MB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.0106, allocations: 167.2 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.01117, allocations: 0.5452 MB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.01164, allocations: 446.8 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.0117, allocations: 44 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.01177, allocations: 48 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.01195, allocations: 279.2 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.01213, allocations: 219.5 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.01262, allocations: 0.4942 MB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01263, allocations: 7.938 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01263, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01263, allocations: 0 / 381.1 MB, free: 15.77 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.00113/0.01376, allocations: 0.9922 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.0138, allocations: 11.98 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01392, allocations: 104.5 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.01453, allocations: 0.5107 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.01456, allocations: 41.31 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.01462, allocations: 48.38 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.01512, allocations: 465.6 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01514, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.01517, allocations: 24 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/0.01526, allocations: 36.95 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.01559, allocations: 233.7 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.01772, allocations: 2.162 MB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.0182, allocations: 330.1 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.01854, allocations: 224 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.01856, allocations: 15.89 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.01859, allocations: 37.39 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.01859, allocations: 0 / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001832/0.02042, allocations: 1.159 MB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.02047, allocations: 85.23 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.02077, allocations: 426.6 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.0208, allocations: 37.7 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.02096, allocations: 347.7 kB / 388.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.02105, allocations: 170.6 kB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.02115, allocations: 96 kB / 388.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.0213, allocations: 0.543 MB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.02142, allocations: 77.25 kB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.02162, allocations: 253.9 kB / 389.5 MB, free: 6.984 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.000684/0.0223, allocations: 0.5673 MB / 390 MB, free: 6.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.0223, allocations: 4 kB / 390 MB, free: 6.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005985/0.0229, allocations: 496.6 kB / 390.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.02292, allocations: 10.59 kB / 390.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.02293, allocations: 4 kB / 390.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.02322, allocations: 103.8 kB / 390.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.02346, allocations: 115.8 kB / 390.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.0254, allocations: 2.485 MB / 393.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.02559, allocations: 31.92 kB / 393.3 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.02561, allocations: 20 kB / 393.3 MB, free: 2.973 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.0001863/0.0258, allocations: 195.8 kB / 393.5 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.02587, allocations: 59.72 kB / 393.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.02643, allocations: 450.2 kB / 394 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.02644, allocations: 4 kB / 394 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02644, allocations: 4 kB / 394 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.02645, allocations: 0 / 394 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.02755, allocations: 0.9911 MB / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.02756, allocations: 4 kB / 395 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.02774, allocations: 71.89 kB / 395.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.02801, allocations: 115.7 kB / 395.2 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.02804, allocations: 16 kB / 395.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.02955, allocations: 2.465 MB / 397.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.02955, allocations: 7.875 kB / 397.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.03025, allocations: 0.7097 MB / 398.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.0303, allocations: 51.69 kB / 398.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.03033, allocations: 16 kB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.03045, allocations: 15.98 kB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.03052, allocations: 43.86 kB / 398.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.03053, allocations: 12 kB / 398.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.0307, allocations: 275.1 kB / 398.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.0307, allocations: 0 / 398.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.03113, allocations: 144 kB / 398.9 MB, free: 13.1 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.0001321/0.03126, allocations: 115 kB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.03192, allocations: 0.5364 MB / 399.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.03193, allocations: 0.9375 kB / 399.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.03255, allocations: 417.8 kB / 400 MB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.033, allocations: 117.6 kB / 400.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.03475, allocations: 1.156 MB / 401.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.03488, allocations: 174 kB / 401.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.03506, allocations: 88.61 kB / 401.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.03514, allocations: 44.48 kB / 401.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03514, allocations: 0 / 401.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of Templates: time 0.009459/0.0446, allocations: 6.758 MB / 408.3 MB, free: 3.684 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2283997288905084]