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.0009986/0.0009986, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.0009596/0.0009596, allocations: 167.7 kB / 24.99 MB, free: 8.25 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 0.9924/0.9924, allocations: 177.1 MB / 205.3 MB, free: 4.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.1215/0.1215, allocations: 29.42 MB / 291.2 MB, free: 2.883 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.743e-06/1.743e-06, allocations: 0 / 369.6 MB, free: 32.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.498e-05, allocations: 2.312 kB / 369.6 MB, free: 32.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004865/0.00489, allocations: 6.183 MB / 375.8 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.006406, allocations: 1.399 MB / 377.2 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.00663, allocations: 39.62 kB / 377.2 MB, free: 25.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.007032, allocations: 138.8 kB / 377.4 MB, free: 25.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.007503, allocations: 405.5 kB / 377.8 MB, free: 24.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.007792, allocations: 195.5 kB / 377.9 MB, free: 24.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.008298, allocations: 0.9536 MB / 378.9 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.008528, allocations: 163.2 kB / 379.1 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.008992, allocations: 0.549 MB / 379.6 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.009393, allocations: 438.8 kB / 380 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.009443, allocations: 48 kB / 380.1 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.009503, allocations: 52 kB / 380.1 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.009649, allocations: 287.2 kB / 380.4 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.009796, allocations: 223.5 kB / 380.6 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.01016, allocations: 498.2 kB / 381.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01016, allocations: 0 / 381.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01016, allocations: 0 / 381.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01017, allocations: 0 / 381.1 MB, free: 21.39 MB / 314.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.0009829/0.01115, allocations: 0.9995 MB / 382.1 MB, free: 20.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01119, allocations: 12.03 kB / 382.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.0113, allocations: 108.5 kB / 382.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.01182, allocations: 0.5029 MB / 382.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.01185, allocations: 37.38 kB / 382.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.0119, allocations: 48.38 kB / 382.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.01233, allocations: 461.6 kB / 383.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01235, allocations: 4 kB / 383.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.01238, allocations: 23.94 kB / 383.3 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/0.01245, allocations: 40.91 kB / 383.3 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.01275, allocations: 225.7 kB / 383.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01418, allocations: 2.177 MB / 385.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.01458, allocations: 319.8 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.01487, allocations: 216 kB / 386.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.0149, allocations: 11.95 kB / 386.3 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01492, allocations: 41.39 kB / 386.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.01492, allocations: 0 / 386.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001683/0.0166, allocations: 1.159 MB / 387.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01664, allocations: 81.11 kB / 387.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.01693, allocations: 426.6 kB / 388 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01695, allocations: 33.7 kB / 388 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.01708, allocations: 351.7 kB / 388.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.01716, allocations: 166.6 kB / 388.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01728, allocations: 104.1 kB / 388.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.01736, allocations: 0.5469 MB / 389.2 MB, free: 13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.0175, allocations: 77.2 kB / 389.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.0177, allocations: 254 kB / 389.5 MB, free: 12.61 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.0007715/0.01847, allocations: 0.5594 MB / 390 MB, free: 11.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01847, allocations: 0 / 390 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006778/0.01915, allocations: 496.4 kB / 390.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.01916, allocations: 11.94 kB / 390.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01917, allocations: 4.469 kB / 390.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.01948, allocations: 103.5 kB / 390.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.01979, allocations: 111.8 kB / 390.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.02131, allocations: 2.496 MB / 393.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.02149, allocations: 19.98 kB / 393.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.02152, allocations: 20 kB / 393.3 MB, free: 8.602 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: 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.0001347/0.02165, allocations: 198.8 kB / 393.5 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.02173, allocations: 63.67 kB / 393.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/0.02233, allocations: 442.2 kB / 394 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02234, allocations: 4 kB / 394 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02234, allocations: 4 kB / 394 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.02235, allocations: 3.984 kB / 394 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.02349, allocations: 0.9872 MB / 395 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0235, allocations: 0 / 395 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.02372, allocations: 72.06 kB / 395 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.02401, allocations: 119.6 kB / 395.2 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.02403, allocations: 11.98 kB / 395.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.02541, allocations: 2.469 MB / 397.6 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.02541, allocations: 3.938 kB / 397.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.02614, allocations: 0.7135 MB / 398.4 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.02619, allocations: 47.61 kB / 398.4 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.02623, allocations: 16 kB / 398.4 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.0264, allocations: 11.98 kB / 398.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.02646, allocations: 47.86 kB / 398.5 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.02649, allocations: 19.98 kB / 398.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.02664, allocations: 271.1 kB / 398.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02664, allocations: 0 / 398.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.02713, allocations: 148 kB / 398.9 MB, free: 2.727 MB / 314.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.979e-05/0.02723, allocations: 111.1 kB / 399 MB, free: 2.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.02787, allocations: 0.5368 MB / 399.6 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02787, allocations: 4 kB / 399.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.02824, allocations: 410.4 kB / 400 MB, free: 1.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.0288, allocations: 128.2 kB / 400.1 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.03052, allocations: 1.155 MB / 401.2 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.03063, allocations: 185.9 kB / 401.4 MB, free: 84 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.03082, allocations: 84.62 kB / 401.5 MB, free: 0 / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.03092, allocations: 40.61 kB / 401.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03092, allocations: 3.938 kB / 401.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01033/0.04125, allocations: 6.761 MB / 408.3 MB, free: 9.312 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.2407135439570993]