Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001632/0.001632, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001903/0.001903, allocations: 158.6 kB / 24.5 MB, free: 3.715 MB / 14.72 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.512/1.512, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1855/0.1855, allocations: 29.43 MB / 290.7 MB, free: 3.266 MB / 270.1 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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4034, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006717/0.4101, allocations: 6.205 MB / 499.8 MB, free: 33.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.4123, allocations: 1.295 MB / 0.4894 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.4126, allocations: 38.12 kB / 0.4894 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.4129, allocations: 125.3 kB / 0.4895 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000924/0.4138, allocations: 434.6 kB / 0.49 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.4143, allocations: 231.8 kB / 0.4902 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009712/0.4153, allocations: 1.125 MB / 0.4913 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.4156, allocations: 256.2 kB / 0.4915 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.4162, allocations: 0.5301 MB / 0.492 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.4169, allocations: 0.5269 MB / 0.4926 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.4169, allocations: 67.31 kB / 0.4926 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4171, allocations: 69.16 kB / 0.4927 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.4173, allocations: 344.7 kB / 0.493 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.4176, allocations: 331.9 kB / 0.4933 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.4183, allocations: 0.9238 MB / 0.4942 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4183, allocations: 0 / 0.4942 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4183, allocations: 3.938 kB / 0.4942 GB, free: 30.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.4184, allocations: 0 / 0.4942 GB, free: 30.63 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001769/0.4201, allocations: 1.097 MB / 0.4953 GB, free: 29.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.4202, allocations: 13.27 kB / 0.4953 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.4203, allocations: 91.03 kB / 0.4954 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.4211, allocations: 0.5412 MB / 0.4959 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.4212, allocations: 223.5 kB / 0.4961 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.4213, allocations: 65.8 kB / 0.4962 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4226, allocations: 0.86 MB / 0.4971 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4226, allocations: 11.14 kB / 0.4971 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.4227, allocations: 22.56 kB / 0.4971 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.4228, allocations: 44.67 kB / 0.4971 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4238, allocations: 0.6103 MB / 0.4977 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.4266, allocations: 2.435 MB / 0.5001 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.428, allocations: 0.5663 MB / 0.5007 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.4286, allocations: 299.9 kB / 0.5009 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4286, allocations: 7.734 kB / 0.5009 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.4292, allocations: 356.3 kB / 0.5013 GB, free: 26.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.4292, allocations: 4 kB / 0.5013 GB, free: 26.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003561/0.4328, allocations: 1.673 MB / 0.5029 GB, free: 25.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4328, allocations: 120.3 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.4332, allocations: 455.7 kB / 0.5035 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.4332, allocations: 40.2 kB / 0.5035 GB, free: 25.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4334, allocations: 374.4 kB / 0.5039 GB, free: 25.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.4335, allocations: 155.3 kB / 0.504 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.4336, allocations: 115.9 kB / 0.5041 GB, free: 24.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.4337, allocations: 366.3 kB / 0.5045 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.434, allocations: 255 kB / 0.5047 GB, free: 24.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.4343, allocations: 429.9 kB / 0.5051 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.4349, allocations: 0.611 MB / 0.5057 GB, free: 23.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4349, allocations: 3.094 kB / 0.5057 GB, free: 23.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009712/0.4359, allocations: 0.8388 MB / 0.5065 GB, free: 23.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.4359, allocations: 58.83 kB / 0.5066 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4359, allocations: 6.094 kB / 0.5066 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.4362, allocations: 94.33 kB / 0.5067 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.4365, allocations: 104 kB / 0.5068 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.4382, allocations: 2.998 MB / 0.5097 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4386, allocations: 31.83 kB / 0.5098 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.4386, allocations: 53.7 kB / 0.5098 GB, free: 20.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.4389, allocations: 272.2 kB / 0.5101 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.439, allocations: 54.7 kB / 0.5101 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4403, allocations: 0.6128 MB / 0.5107 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4403, allocations: 6.031 kB / 0.5107 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4403, allocations: 2.906 kB / 0.5107 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4403, allocations: 7.516 kB / 0.5107 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.4423, allocations: 1.295 MB / 0.512 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4423, allocations: 0 / 0.512 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.4426, allocations: 59.22 kB / 0.5121 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.4428, allocations: 103.1 kB / 0.5122 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.4429, allocations: 13.84 kB / 0.5122 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4446, allocations: 2.987 MB / 0.5151 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4446, allocations: 5.188 kB / 0.5151 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.4465, allocations: 0.9877 MB / 0.5161 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4468, allocations: 89.36 kB / 0.5161 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.4468, allocations: 34.77 kB / 0.5162 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.4472, allocations: 51.59 kB / 0.5162 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.4473, allocations: 28.91 kB / 0.5162 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.4474, allocations: 18.16 kB / 0.5163 GB, free: 16.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.4477, allocations: 300.7 kB / 0.5166 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4477, allocations: 0 / 0.5166 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007535/0.4484, allocations: 153.3 kB / 0.5167 GB, free: 15.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.4486, allocations: 123.2 kB / 0.5168 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.45, allocations: 0.8881 MB / 0.5177 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.45, allocations: 4.062 kB / 0.5177 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.4509, allocations: 486.5 kB / 0.5182 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.4517, allocations: 128 kB / 0.5183 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.4544, allocations: 1.494 MB / 0.5197 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.4549, allocations: 375.6 kB / 0.5201 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.4552, allocations: 99.69 kB / 0.5202 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4554, allocations: 38.06 kB / 0.5202 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4554, allocations: 0 / 0.5202 GB, free: 14 MB / 446.1 MB Notification: Performance of Templates: time 0.0167/0.4721, allocations: 6.808 MB / 0.5269 GB, free: 13.21 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2395373890176415] Failed to read output from testmodel.py, exit status != 0: 0.4811093449825421 0.500038532 0.07723705800000001 Calling exit ...