Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001469/0.001469, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001399/0.001399, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.517/1.517, allocations: 177.2 MB / 204.9 MB, free: 9.062 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.1859/0.1859, allocations: 29.42 MB / 290.7 MB, free: 3.316 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.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [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.002244/0.002244, allocations: 63.91 kB / 431.2 MB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4075, allocations: 62.45 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007655/0.4151, allocations: 5.747 MB / 499.4 MB, free: 33.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.4173, allocations: 1.505 MB / 0.4891 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.4176, allocations: 36.06 kB / 0.4892 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.4181, allocations: 133.9 kB / 0.4893 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.4187, allocations: 372.3 kB / 0.4897 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.4192, allocations: 316.6 kB / 0.49 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.4202, allocations: 1.346 MB / 0.4913 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.4205, allocations: 228.4 kB / 0.4915 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.4212, allocations: 0.5698 MB / 0.492 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.4219, allocations: 0.5543 MB / 0.4926 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.422, allocations: 91.38 kB / 0.4927 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.4221, allocations: 91.94 kB / 0.4928 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.4224, allocations: 356.2 kB / 0.4931 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4227, allocations: 350 kB / 0.4934 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008349/0.4236, allocations: 1.058 MB / 0.4945 GB, free: 30.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4236, allocations: 3.25 kB / 0.4945 GB, free: 30.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4236, allocations: 0 / 0.4945 GB, free: 30.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4236, allocations: 0 / 0.4945 GB, free: 30.65 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002386/0.426, allocations: 1.144 MB / 0.4956 GB, free: 29.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.426, allocations: 13.86 kB / 0.4956 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.4262, allocations: 85.78 kB / 0.4957 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4274, allocations: 0.5972 MB / 0.4963 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.4278, allocations: 0.7394 MB / 0.497 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.4279, allocations: 62.22 kB / 0.4971 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.4298, allocations: 1.043 MB / 0.4981 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4298, allocations: 3.938 kB / 0.4981 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.4299, allocations: 25.36 kB / 0.4981 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4299, allocations: 12.78 kB / 0.4981 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.4323, allocations: 1.086 MB / 0.4992 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.4361, allocations: 2.896 MB / 0.502 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.4381, allocations: 0.7357 MB / 0.5027 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.4394, allocations: 0.5023 MB / 0.5032 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.4395, allocations: 13.48 kB / 0.5032 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.4408, allocations: 0.6144 MB / 0.5038 GB, free: 25.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.4408, allocations: 4 kB / 0.5038 GB, free: 25.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.003624/0.4444, allocations: 1.374 MB / 0.5052 GB, free: 25.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4445, allocations: 138.2 kB / 0.5053 GB, free: 25.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.4448, allocations: 361.8 kB / 0.5056 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.4449, allocations: 40.02 kB / 0.5057 GB, free: 24.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.445, allocations: 303.7 kB / 0.506 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4452, allocations: 177.6 kB / 0.5061 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.4453, allocations: 115.3 kB / 0.5062 GB, free: 24.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.4454, allocations: 365.4 kB / 0.5066 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009494/0.4464, allocations: 480 kB / 0.5071 GB, free: 23.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4474, allocations: 0.5918 MB / 0.5076 GB, free: 23.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.4492, allocations: 0.8739 MB / 0.5085 GB, free: 23.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4492, allocations: 6.938 kB / 0.5085 GB, free: 23.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002209/0.4514, allocations: 1.108 MB / 0.5096 GB, free: 22.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.4514, allocations: 47.77 kB / 0.5096 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4514, allocations: 7.156 kB / 0.5096 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.4514, allocations: 9.812 kB / 0.5096 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006178/0.4576, allocations: 1.107 MB / 0.5107 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.4655, allocations: 4.437 MB / 0.5151 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.4665, allocations: 107.7 kB / 0.5152 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.4666, allocations: 37.06 kB / 0.5152 GB, free: 19.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.4673, allocations: 247.9 kB / 0.5154 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.4674, allocations: 54.33 kB / 0.5155 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.4703, allocations: 0.9785 MB / 0.5164 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4704, allocations: 11.05 kB / 0.5164 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4704, allocations: 5.031 kB / 0.5164 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4704, allocations: 3.141 kB / 0.5165 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.4748, allocations: 1.938 MB / 0.5183 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4748, allocations: 2.062 kB / 0.5183 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007571/0.4824, allocations: 1.283 MB / 0.5196 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.4824, allocations: 4.062 kB / 0.5196 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.4825, allocations: 17.38 kB / 0.5196 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4825, allocations: 3.688 kB / 0.5196 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4825, allocations: 6.344 kB / 0.5196 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.487, allocations: 1.699 MB / 0.5213 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.4874, allocations: 123.1 kB / 0.5214 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4875, allocations: 31.44 kB / 0.5214 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.4884, allocations: 92.25 kB / 0.5215 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.4886, allocations: 97.64 kB / 0.5216 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.4887, allocations: 24.06 kB / 0.5216 GB, free: 17.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.4891, allocations: 239.7 kB / 0.5219 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4891, allocations: 0 / 0.5219 GB, free: 17.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000789/0.4899, allocations: 188.8 kB / 0.522 GB, free: 17.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.49, allocations: 129 kB / 0.5222 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008412/0.4985, allocations: 2.049 MB / 0.5242 GB, free: 16.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4985, allocations: 0 / 0.5242 GB, free: 16.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003977/0.5024, allocations: 0.9506 MB / 0.5251 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.5034, allocations: 119.5 kB / 0.5252 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.5075, allocations: 1.595 MB / 0.5268 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5079, allocations: 330.6 kB / 0.5271 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000524/0.5084, allocations: 157.1 kB / 0.5272 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.5087, allocations: 43.97 kB / 0.5273 GB, free: 15.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5087, allocations: 0 / 0.5273 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Templates: time 0.01579/0.5244, allocations: 8.322 MB / 0.5354 GB, free: 12.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.337557116989046] Failed to read output from testmodel.py, exit status != 0: 0.5337468789657578 0.545328992 0.11939252 Calling exit ...