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.0009303/0.0009303, allocations: 80.8 kB / 21.5 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.0009129/0.0009129, allocations: 169.4 kB / 24.91 MB, free: 8.766 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2389/0.2389, allocations: 29.4 MB / 291.2 MB, free: 2.434 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 1.523e-06/1.523e-06, allocations: 0 / 316.9 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.22e-05, allocations: 2.312 kB / 316.9 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006125/0.006157, allocations: 5.334 MB / 322.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.008414, allocations: 1.438 MB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.008695, allocations: 39.62 kB / 323.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.009108, allocations: 130.9 kB / 323.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.009766, allocations: 389.7 kB / 324.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.01018, allocations: 199.5 kB / 324.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008351/0.01101, allocations: 0.9456 MB / 325.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.01127, allocations: 177.2 kB / 325.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.012, allocations: 0.6038 MB / 326.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.01246, allocations: 379 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.01253, allocations: 44 kB / 326.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.01261, allocations: 44 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.01282, allocations: 283.2 kB / 326.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01302, allocations: 219.4 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.01349, allocations: 490.2 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.0135, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0135, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.0135, allocations: 4 kB / 327.5 MB, free: 5.277 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.001029/0.01453, allocations: 0.8202 MB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01457, allocations: 23.92 kB / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01468, allocations: 76.88 kB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.01524, allocations: 443.2 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.01527, allocations: 41.38 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.01534, allocations: 44.38 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.01583, allocations: 430.8 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01585, allocations: 7.922 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.01589, allocations: 24 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.01597, allocations: 21 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.01625, allocations: 169.6 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.018, allocations: 1.558 MB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.01841, allocations: 307.2 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.01872, allocations: 178.4 kB / 331.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.01875, allocations: 15.95 kB / 331.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.01877, allocations: 34.56 kB / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.01877, allocations: 4 kB / 331.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.002184/0.02096, allocations: 1.052 MB / 332.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.021, allocations: 85.05 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.02126, allocations: 355.1 kB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.02128, allocations: 33.83 kB / 333.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.02141, allocations: 269.8 kB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.02151, allocations: 166.5 kB / 333.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02163, allocations: 90.3 kB / 333.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.02173, allocations: 362.7 kB / 334.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.02183, allocations: 52.11 kB / 334.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.02198, allocations: 174.8 kB / 334.3 MB, free: 14.18 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.0005849/0.02256, allocations: 444.2 kB / 334.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02257, allocations: 4 kB / 334.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005024/0.02307, allocations: 349.7 kB / 335.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.02308, allocations: 4.438 kB / 335.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02309, allocations: 11.94 kB / 335.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.02335, allocations: 88.92 kB / 335.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.02366, allocations: 103.8 kB / 335.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.02515, allocations: 1.813 MB / 337.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.02531, allocations: 15.94 kB / 337.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.02534, allocations: 20 kB / 337.1 MB, free: 11.2 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.0001463/0.02549, allocations: 153.8 kB / 337.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.02556, allocations: 39.97 kB / 337.3 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.02604, allocations: 339.2 kB / 337.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.02605, allocations: 11.94 kB / 337.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.02606, allocations: 8 kB / 337.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.02606, allocations: 7.984 kB / 337.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.02712, allocations: 0.8362 MB / 338.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.02712, allocations: 8.125 kB / 338.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.02736, allocations: 67.91 kB / 338.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.02763, allocations: 110.2 kB / 338.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.02766, allocations: 15.98 kB / 338.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.0291, allocations: 1.818 MB / 340.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.02911, allocations: 7.938 kB / 340.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.02973, allocations: 0.5553 MB / 341.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.02978, allocations: 39.67 kB / 341.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.02982, allocations: 12 kB / 341.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.02997, allocations: 8 kB / 341.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.03004, allocations: 43.86 kB / 341.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.03006, allocations: 12 kB / 341.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.03019, allocations: 148.7 kB / 341.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03019, allocations: 0 / 341.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000323/0.03051, allocations: 144 kB / 341.5 MB, free: 6.625 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 9.553e-05/0.03061, allocations: 96.23 kB / 341.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004354/0.03104, allocations: 439.4 kB / 342 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.03105, allocations: 4 kB / 342 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.03133, allocations: 316.5 kB / 342.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.03169, allocations: 134.6 kB / 342.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.03306, allocations: 1.093 MB / 343.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.03317, allocations: 169.9 kB / 343.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.0333, allocations: 64.66 kB / 343.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.03349, allocations: 153.3 kB / 343.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03349, allocations: 0 / 343.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of Templates: time 0.008961/0.04245, allocations: 7.156 MB / 351.1 MB, free: 13.05 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.932085223030299]