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.0009585/0.0009585, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001047/0.001047, allocations: 165.5 kB / 24.82 MB, free: 9.27 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.2504/0.2504, allocations: 29.41 MB / 291.2 MB, free: 2.398 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.874e-06/1.874e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.592e-05, allocations: 6.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005252/0.005278, allocations: 5.269 MB / 375.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.007595, allocations: 1.402 MB / 376.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.008064, allocations: 35.69 kB / 376.8 MB, free: 4 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.008524, allocations: 134.9 kB / 376.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000762/0.009286, allocations: 389.6 kB / 377.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.009753, allocations: 195.6 kB / 377.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00097/0.01072, allocations: 0.942 MB / 378.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.0111, allocations: 163.2 kB / 378.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.0122, allocations: 0.6077 MB / 379.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.01277, allocations: 402.9 kB / 379.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.01284, allocations: 44 kB / 379.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.01293, allocations: 47.94 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.01312, allocations: 275.3 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.01333, allocations: 223.4 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.01381, allocations: 486.2 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01382, allocations: 0 / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01382, allocations: 4 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01383, allocations: 0 / 380.7 MB, free: 128 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.001103/0.01493, allocations: 0.957 MB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.01499, allocations: 15.97 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.01511, allocations: 108.5 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.01563, allocations: 466 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.01565, allocations: 37.38 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.01571, allocations: 56.36 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.01612, allocations: 429.5 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01613, allocations: 7.938 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.01623, allocations: 20 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.01631, allocations: 24.98 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.01653, allocations: 182.7 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.01831, allocations: 2.045 MB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.01866, allocations: 296.9 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.01893, allocations: 200 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.01895, allocations: 11.95 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.019, allocations: 49.33 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/0.019, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00147/0.02047, allocations: 0.9019 MB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.02051, allocations: 81.11 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.02078, allocations: 422.4 kB / 386.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02081, allocations: 37.7 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.02098, allocations: 355.7 kB / 387.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.02108, allocations: 178.5 kB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.02117, allocations: 103.9 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004116/0.02158, allocations: 0.5429 MB / 388.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.02166, allocations: 57.27 kB / 388.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.02181, allocations: 233.9 kB / 388.4 MB, free: 7.965 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.0005202/0.02233, allocations: 0.4969 MB / 388.9 MB, free: 7.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.02233, allocations: 0 / 388.9 MB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004752/0.02281, allocations: 452.7 kB / 389.3 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.02282, allocations: 8.062 kB / 389.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.02283, allocations: 8 kB / 389.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.02306, allocations: 107 kB / 389.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.02329, allocations: 87.89 kB / 389.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.02473, allocations: 2.396 MB / 391.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.02486, allocations: 12 kB / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.02489, allocations: 23.94 kB / 392 MB, free: 4.203 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.0001504/0.02504, allocations: 184.6 kB / 392.2 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.0251, allocations: 63.66 kB / 392.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.02555, allocations: 406.2 kB / 392.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.02556, allocations: 4 kB / 392.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.02556, allocations: 8.047 kB / 392.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.02557, allocations: 11.92 kB / 392.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009827/0.02655, allocations: 0.9324 MB / 393.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.02655, allocations: 8.156 kB / 393.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.02671, allocations: 67.84 kB / 393.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.02694, allocations: 102.6 kB / 393.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.02697, allocations: 12 kB / 393.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.02857, allocations: 2.392 MB / 396.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.02857, allocations: 8 kB / 396.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.02915, allocations: 0.6588 MB / 396.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.0292, allocations: 47.66 kB / 396.9 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.02923, allocations: 19.92 kB / 396.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.02934, allocations: 8 kB / 396.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.02939, allocations: 43.92 kB / 396.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.0294, allocations: 16 kB / 397 MB, free: 14.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.02953, allocations: 255 kB / 397.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02953, allocations: 4 kB / 397.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000426/0.02996, allocations: 140 kB / 397.3 MB, free: 14.59 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.0001198/0.03008, allocations: 111.3 kB / 397.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005278/0.0306, allocations: 0.5055 MB / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.03061, allocations: 0 / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.03092, allocations: 398.3 kB / 398.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.03137, allocations: 128.5 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.03356, allocations: 1.141 MB / 399.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.03373, allocations: 181.9 kB / 399.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.03396, allocations: 60.69 kB / 399.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.03417, allocations: 178.1 kB / 400 MB, free: 11.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03417, allocations: 0 / 400 MB, free: 11.78 MB / 378.7 MB Notification: Performance of Templates: time 0.009912/0.04408, allocations: 7.186 MB / 407.2 MB, free: 4.703 MB / 378.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.0407288637943566]