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.001615/0.001615, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001754/0.001754, allocations: 161.7 kB / 24.27 MB, free: 168 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.527/1.527, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3219/0.3219, allocations: 29.42 MB / 290.5 MB, free: 2.426 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 3.216e-06/3.216e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.392e-05/4.714e-05, allocations: 5.547 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.01578/0.01582, allocations: 5.814 MB / 374.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004997/0.02082, allocations: 1.363 MB / 376.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.02136, allocations: 39.62 kB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.02217, allocations: 134.9 kB / 376.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.0238, allocations: 405.5 kB / 376.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009831/0.02478, allocations: 199.5 kB / 376.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.02669, allocations: 0.942 MB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/0.0272, allocations: 171.2 kB / 377.9 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.02862, allocations: 0.5335 MB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.0299, allocations: 446.8 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.03004, allocations: 48 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.03022, allocations: 48 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.03075, allocations: 287.2 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.03125, allocations: 211.5 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.03217, allocations: 0.6813 MB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.03217, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03217, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.03219, allocations: 0 / 380.2 MB, free: 15.95 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.001954/0.03415, allocations: 0.8844 MB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.0342, allocations: 11.98 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.03441, allocations: 108.5 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.0355, allocations: 0.5196 MB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.03554, allocations: 33.38 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.03563, allocations: 52.31 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.03673, allocations: 0.625 MB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.03675, allocations: 4 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.0368, allocations: 20 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.03692, allocations: 36.97 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.03779, allocations: 0.5034 MB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.04128, allocations: 2.008 MB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.04221, allocations: 457.2 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.04292, allocations: 326.2 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.04296, allocations: 15.95 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.043, allocations: 34.56 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.043, allocations: 4 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003756/0.04676, allocations: 1.612 MB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.04683, allocations: 81.11 kB / 387.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.04785, allocations: 401.8 kB / 387.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.0479, allocations: 33.7 kB / 387.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.04818, allocations: 304.9 kB / 388.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.04835, allocations: 170.5 kB / 388.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.04852, allocations: 94.3 kB / 388.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.04874, allocations: 366.7 kB / 388.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.04907, allocations: 185.1 kB / 389 MB, free: 6.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.04951, allocations: 308.7 kB / 389.3 MB, free: 6.473 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.002922/0.05243, allocations: 1.165 MB / 390.5 MB, free: 5.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.05244, allocations: 4 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00151/0.05395, allocations: 0.724 MB / 391.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.05399, allocations: 11.94 kB / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.054, allocations: 4.469 kB / 391.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.05452, allocations: 152.7 kB / 391.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.05503, allocations: 107.8 kB / 391.5 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.05855, allocations: 2.484 MB / 393.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.05889, allocations: 24.03 kB / 394 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.05895, allocations: 19.98 kB / 394 MB, free: 1.621 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.0003672/0.05931, allocations: 233.6 kB / 394.2 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.05944, allocations: 63.67 kB / 394.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.06095, allocations: 0.6438 MB / 394.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.06096, allocations: 8 kB / 394.9 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.06096, allocations: 0 / 394.9 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.06097, allocations: 7.984 kB / 394.9 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.0633, allocations: 1.178 MB / 396.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.06331, allocations: 0 / 396.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.06367, allocations: 72.05 kB / 396.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.06418, allocations: 164.7 kB / 396.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.06422, allocations: 16 kB / 396.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.06786, allocations: 2.473 MB / 398.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.06787, allocations: 7.938 kB / 398.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.06968, allocations: 0.9984 MB / 399.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.06983, allocations: 43.72 kB / 399.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.0699, allocations: 15.98 kB / 399.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.07015, allocations: 15.98 kB / 399.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.07025, allocations: 47.86 kB / 400 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.07028, allocations: 16 kB / 400 MB, free: 11.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003857/0.07067, allocations: 275.1 kB / 400.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07067, allocations: 0 / 400.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007038/0.07137, allocations: 144 kB / 400.4 MB, free: 11.01 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.0001737/0.07155, allocations: 115.1 kB / 400.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.07283, allocations: 0.6461 MB / 401.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.07284, allocations: 0 / 401.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.07357, allocations: 417.5 kB / 401.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.07437, allocations: 129.6 kB / 401.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.07736, allocations: 1.251 MB / 402.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.07784, allocations: 333.2 kB / 403.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.07817, allocations: 96.62 kB / 403.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.07831, allocations: 44.48 kB / 403.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.07831, allocations: 0 / 403.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of Templates: time 0.01506/0.09337, allocations: 6.728 MB / 410.1 MB, free: 1.277 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=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.096317133051343]