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.001055/0.001055, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009624/0.0009624, allocations: 161 kB / 24.56 MB, free: 8 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.9601/0.9601, allocations: 177.2 MB / 205 MB, free: 5.609 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.2595/0.2595, allocations: 29.42 MB / 290.9 MB, free: 2.52 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.763e-06/1.763e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.369e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005654/0.005688, allocations: 5.323 MB / 375 MB, free: 5.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.007793, allocations: 1.406 MB / 376.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.008112, allocations: 35.69 kB / 376.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.008526, allocations: 134.9 kB / 376.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.009138, allocations: 385.8 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.009526, allocations: 199.5 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007423/0.01027, allocations: 0.9458 MB / 378 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.0105, allocations: 163.2 kB / 378.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000573/0.01107, allocations: 0.5336 MB / 378.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.01155, allocations: 442.8 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.01162, allocations: 44 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.01169, allocations: 48 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.01188, allocations: 287.2 kB / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.01205, allocations: 223.5 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.01249, allocations: 498.2 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.01249, allocations: 0 / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01249, allocations: 0 / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.0125, allocations: 3.938 kB / 380.3 MB, free: 336 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.001035/0.01354, allocations: 0.996 MB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01357, allocations: 11.98 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.01368, allocations: 108.5 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.01425, allocations: 0.5029 MB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.01427, allocations: 37.38 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.01433, allocations: 48.38 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.01503, allocations: 465.6 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01505, allocations: 0 / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.0151, allocations: 24 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.01521, allocations: 36.97 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.01563, allocations: 229.7 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.01738, allocations: 2.173 MB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.01789, allocations: 332.6 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.01823, allocations: 216 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.01826, allocations: 11.95 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01829, allocations: 37.39 kB / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/0.01829, allocations: 0 / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001737/0.02002, allocations: 1.17 MB / 386.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.02007, allocations: 89.05 kB / 386.7 MB, free: 9.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.02037, allocations: 426.6 kB / 387.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.02039, allocations: 33.7 kB / 387.2 MB, free: 9.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.02054, allocations: 351.7 kB / 387.5 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.02063, allocations: 174.5 kB / 387.7 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.02073, allocations: 96 kB / 387.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.02089, allocations: 0.5391 MB / 388.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.02101, allocations: 85.28 kB / 388.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.02121, allocations: 246 kB / 388.6 MB, free: 7.535 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.0006887/0.0219, allocations: 0.5594 MB / 389.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.02191, allocations: 4 kB / 389.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006046/0.02251, allocations: 0.4886 MB / 389.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.02253, allocations: 7.938 kB / 389.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02254, allocations: 4 kB / 389.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.02284, allocations: 103.5 kB / 389.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.02308, allocations: 107.8 kB / 389.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.02466, allocations: 2.485 MB / 392.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.0248, allocations: 31.92 kB / 392.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.02482, allocations: 20 kB / 392.4 MB, free: 3.535 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.0001275/0.02495, allocations: 188.5 kB / 392.6 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.02501, allocations: 67.72 kB / 392.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.02554, allocations: 450.1 kB / 393.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.02554, allocations: 4 kB / 393.1 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02554, allocations: 4 kB / 393.1 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02555, allocations: 0 / 393.1 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.02659, allocations: 0.9834 MB / 394.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02659, allocations: 4 kB / 394.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.02676, allocations: 71.89 kB / 394.2 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.027, allocations: 122.9 kB / 394.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.02702, allocations: 16 kB / 394.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.0284, allocations: 2.458 MB / 396.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02841, allocations: 3.938 kB / 396.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.02908, allocations: 0.7096 MB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.02912, allocations: 51.66 kB / 397.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.02916, allocations: 12 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.02928, allocations: 19.98 kB / 397.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.02933, allocations: 39.86 kB / 397.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02935, allocations: 16 kB / 397.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.02951, allocations: 275.1 kB / 397.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02951, allocations: 0 / 397.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.02986, allocations: 144 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 9.687e-05/0.02996, allocations: 118.6 kB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.03055, allocations: 0.5489 MB / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.03055, allocations: 0 / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.03089, allocations: 417.5 kB / 399.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.0313, allocations: 121.9 kB / 399.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.03284, allocations: 1.156 MB / 400.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.03295, allocations: 170 kB / 400.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.03312, allocations: 84.62 kB / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.03321, allocations: 40.5 kB / 400.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03321, allocations: 0 / 400.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of Templates: time 0.008197/0.0414, allocations: 6.769 MB / 407.4 MB, free: 4.234 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.124491231981665]