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.0009885/0.0009885, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009885/0.0009885, allocations: 165 kB / 24.56 MB, free: 16 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 0.9553/0.9553, allocations: 177.2 MB / 205 MB, free: 5.309 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.2203/0.2203, allocations: 29.41 MB / 290.9 MB, free: 2.359 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.573e-06/1.573e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.012e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004937/0.004957, allocations: 5.318 MB / 375 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.007103, allocations: 1.406 MB / 376.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.007494, allocations: 39.62 kB / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.007922, allocations: 134.9 kB / 376.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.008547, allocations: 397.6 kB / 376.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.008943, allocations: 191.6 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008151/0.009758, allocations: 0.938 MB / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.01001, allocations: 167.2 kB / 378.2 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008138/0.01083, allocations: 0.6 MB / 378.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.0113, allocations: 406.9 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.01136, allocations: 48 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.01145, allocations: 44 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.01164, allocations: 283.2 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.01182, allocations: 215.5 kB / 379.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.01229, allocations: 486.2 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.0123, allocations: 0 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0123, allocations: 4 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01231, allocations: 0 / 380.3 MB, free: 312 kB / 346.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.00115/0.01346, allocations: 0.9883 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01349, allocations: 15.98 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01363, allocations: 108.5 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.01415, allocations: 482 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.01418, allocations: 37.38 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.01424, allocations: 52.38 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.01476, allocations: 465.6 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01477, allocations: 3.938 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.01481, allocations: 20 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/0.0149, allocations: 40.95 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01522, allocations: 229.7 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.01705, allocations: 2.166 MB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.01753, allocations: 326.1 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.01787, allocations: 216 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.0179, allocations: 11.95 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.01793, allocations: 45.33 kB / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.745e-06/0.01793, allocations: 4 kB / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001857/0.01979, allocations: 1.162 MB / 386.6 MB, free: 9.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.01983, allocations: 85.11 kB / 386.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.02013, allocations: 422.6 kB / 387.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.02015, allocations: 33.7 kB / 387.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.02032, allocations: 351.7 kB / 387.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.02042, allocations: 174.7 kB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.02053, allocations: 104 kB / 387.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.02069, allocations: 0.5391 MB / 388.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.02081, allocations: 77.25 kB / 388.4 MB, free: 7.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.02102, allocations: 253.9 kB / 388.6 MB, free: 7.543 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.0006889/0.02171, allocations: 0.5556 MB / 389.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02171, allocations: 0 / 389.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005741/0.02228, allocations: 0.4924 MB / 389.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.0223, allocations: 12.41 kB / 389.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.02231, allocations: 8 kB / 389.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.02257, allocations: 99.33 kB / 389.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.02282, allocations: 111.8 kB / 389.9 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.02443, allocations: 2.481 MB / 392.4 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.02458, allocations: 31.91 kB / 392.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.0246, allocations: 20 kB / 392.4 MB, free: 3.543 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.0001475/0.02475, allocations: 192.5 kB / 392.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.02482, allocations: 67.61 kB / 392.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.02538, allocations: 442.2 kB / 393.1 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.02538, allocations: 4 kB / 393.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02539, allocations: 4 kB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.02539, allocations: 4 kB / 393.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.02649, allocations: 0.9872 MB / 394.1 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02649, allocations: 160 / 394.1 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.02668, allocations: 75.89 kB / 394.2 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.02691, allocations: 115.5 kB / 394.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.02694, allocations: 12 kB / 394.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.02845, allocations: 2.465 MB / 396.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02845, allocations: 7.938 kB / 396.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.02914, allocations: 0.7097 MB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.02918, allocations: 51.69 kB / 397.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.02922, allocations: 16 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.02934, allocations: 15.98 kB / 397.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.0294, allocations: 43.92 kB / 397.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.02942, allocations: 16 kB / 397.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.02959, allocations: 271.1 kB / 397.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02959, allocations: 0 / 397.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000385/0.02998, allocations: 148 kB / 398 MB, free: 13.67 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.0001218/0.0301, allocations: 115 kB / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.03071, allocations: 0.5368 MB / 398.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.03071, allocations: 4 kB / 398.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.03105, allocations: 410.3 kB / 399.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.03149, allocations: 118.7 kB / 399.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.03319, allocations: 1.164 MB / 400.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.03332, allocations: 178 kB / 400.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.0335, allocations: 88.61 kB / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.03358, allocations: 40.48 kB / 400.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03358, allocations: 0 / 400.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of Templates: time 0.009007/0.04259, allocations: 7.038 MB / 407.7 MB, free: 3.973 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.1273033539764583]