Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001073/0.001073, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001392/0.001392, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2633/0.2633, allocations: 29.42 MB / 291.2 MB, free: 2.406 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.785e-05, allocations: 7.078 kB / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008459/0.008497, allocations: 5.294 MB / 322.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.01266, allocations: 1.438 MB / 323.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.01357, allocations: 35.69 kB / 323.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.01416, allocations: 134.9 kB / 323.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.01549, allocations: 397.7 kB / 324.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.01625, allocations: 195.5 kB / 324.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01766, allocations: 0.9495 MB / 325.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.01798, allocations: 173.2 kB / 325.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.01925, allocations: 0.6077 MB / 326 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.01993, allocations: 383 kB / 326.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.02005, allocations: 51.94 kB / 326.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.02017, allocations: 44 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.02048, allocations: 275.3 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.0208, allocations: 219.4 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.02157, allocations: 486.2 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02157, allocations: 0 / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02158, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.02159, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.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.001444/0.02303, allocations: 0.8279 MB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.02309, allocations: 11.98 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.02326, allocations: 80.88 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.02404, allocations: 435.3 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.02409, allocations: 41.38 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.02419, allocations: 56.36 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.02484, allocations: 422.9 kB / 329.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.02486, allocations: 0 / 329.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.02491, allocations: 20 kB / 329.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.02502, allocations: 24.98 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.02537, allocations: 169.6 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.02775, allocations: 1.566 MB / 331.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.02826, allocations: 299.2 kB / 331.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.02859, allocations: 183.2 kB / 331.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.02863, allocations: 11.95 kB / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.02867, allocations: 46.5 kB / 331.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 3.637e-06/0.02868, allocations: 0 / 331.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.002575/0.03125, allocations: 1.053 MB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.03129, allocations: 81.11 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.03152, allocations: 355.3 kB / 333.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.03154, allocations: 37.7 kB / 333.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.03166, allocations: 253.9 kB / 333.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.03175, allocations: 166.5 kB / 333.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.03184, allocations: 90.28 kB / 333.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.03195, allocations: 370.7 kB / 334 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.03203, allocations: 52.12 kB / 334 MB, free: 14.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.03215, allocations: 167.8 kB / 334.2 MB, free: 14.21 MB / 314.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.0005114/0.03267, allocations: 444.3 kB / 334.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03267, allocations: 4 kB / 334.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004514/0.03312, allocations: 350 kB / 335 MB, free: 13.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.03314, allocations: 12.09 kB / 335 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.03315, allocations: 0 / 335 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.03339, allocations: 93.58 kB / 335.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.03361, allocations: 99.77 kB / 335.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.03504, allocations: 1.808 MB / 337 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.03522, allocations: 15.98 kB / 337 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.03524, allocations: 20 kB / 337 MB, free: 11.23 MB / 314.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: 15 * 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 (53): * Single equations (assignments): 52 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.03544, allocations: 148.4 kB / 337.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.0355, allocations: 48 kB / 337.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.036, allocations: 343.2 kB / 337.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.03601, allocations: 7.938 kB / 337.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.03601, allocations: 12 kB / 337.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.03602, allocations: 0 / 337.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.03724, allocations: 0.8363 MB / 338.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.03725, allocations: 8.109 kB / 338.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.03744, allocations: 71.84 kB / 338.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.03771, allocations: 105.4 kB / 338.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.03773, allocations: 8 kB / 338.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.03923, allocations: 1.815 MB / 340.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.03923, allocations: 4 kB / 340.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.0398, allocations: 0.5553 MB / 341 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.03986, allocations: 51.66 kB / 341 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.0399, allocations: 8 kB / 341 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.04001, allocations: 12 kB / 341.1 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.04006, allocations: 39.86 kB / 341.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.04008, allocations: 16 kB / 341.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.04019, allocations: 144.8 kB / 341.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.04019, allocations: 3.938 kB / 341.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.04062, allocations: 144 kB / 341.4 MB, free: 6.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (40): * Single equations (assignments): 38 * 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.000139/0.04076, allocations: 92.3 kB / 341.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005552/0.04132, allocations: 431.4 kB / 341.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.04133, allocations: 4 kB / 341.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.04167, allocations: 324.4 kB / 342.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.04211, allocations: 134.2 kB / 342.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.04395, allocations: 1.093 MB / 343.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.04409, allocations: 169.9 kB / 343.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.04428, allocations: 64.66 kB / 343.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.04448, allocations: 149.3 kB / 343.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.04448, allocations: 0 / 343.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of Templates: time 0.01105/0.05554, allocations: 7.162 MB / 351 MB, free: 13.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2122180722653866]