Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 186.9 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.2629/0.2629, allocations: 38.54 MB / 346.3 MB, free: 2.055 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4567, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008448/0.4652, allocations: 6.777 MB / 0.5396 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.4688, allocations: 1.771 MB / 0.5414 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.4695, allocations: 32 kB / 0.5414 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.4704, allocations: 222.3 kB / 0.5416 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.4714, allocations: 392.4 kB / 0.542 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.4721, allocations: 222.3 kB / 0.5422 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4736, allocations: 1.079 MB / 0.5432 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.4743, allocations: 311.4 kB / 0.5435 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.4753, allocations: 488.7 kB / 0.544 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.4761, allocations: 0.4993 MB / 0.5445 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.4763, allocations: 84.38 kB / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.4764, allocations: 85.25 kB / 0.5447 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.4768, allocations: 277 kB / 0.5449 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.4773, allocations: 405.8 kB / 0.5453 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.4787, allocations: 1.043 MB / 0.5463 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.4787, allocations: 4 kB / 0.5463 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4787, allocations: 1.156 kB / 0.5463 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4787, allocations: 0 / 0.5463 GB, free: 11.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002368/0.4811, allocations: 0.9597 MB / 0.5473 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.4812, allocations: 12.84 kB / 0.5473 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.4814, allocations: 78.22 kB / 0.5474 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.483, allocations: 0.5889 MB / 0.5479 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.4832, allocations: 109.2 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.4833, allocations: 67.48 kB / 0.5481 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.4848, allocations: 0.7451 MB / 0.5488 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4848, allocations: 0 / 0.5488 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.4849, allocations: 26.31 kB / 0.5489 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4849, allocations: 14.5 kB / 0.5489 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.4863, allocations: 0.6038 MB / 0.5495 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.4907, allocations: 2.413 MB / 0.5518 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.4917, allocations: 400.6 kB / 0.5522 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.4921, allocations: 195 kB / 0.5524 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.4922, allocations: 3.438 kB / 0.5524 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.4927, allocations: 243.5 kB / 0.5526 GB, free: 7.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/0.4927, allocations: 0 / 0.5526 GB, free: 7.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003417/0.4961, allocations: 0.8044 MB / 0.5534 GB, free: 6.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4962, allocations: 133.9 kB / 0.5535 GB, free: 6.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.4967, allocations: 407.8 kB / 0.5539 GB, free: 6.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.4968, allocations: 36.11 kB / 0.554 GB, free: 6.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.497, allocations: 321.1 kB / 0.5543 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.4972, allocations: 122.8 kB / 0.5544 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4973, allocations: 76.78 kB / 0.5545 GB, free: 5.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4975, allocations: 357.6 kB / 0.5548 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.4978, allocations: 130.3 kB / 0.5549 GB, free: 5.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.4982, allocations: 253.9 kB / 0.5552 GB, free: 5.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4999, allocations: 0.6562 MB / 0.5558 GB, free: 4.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4999, allocations: 0 / 0.5558 GB, free: 4.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001217/0.5011, allocations: 0.5217 MB / 0.5563 GB, free: 3.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5011, allocations: 8 kB / 0.5563 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5011, allocations: 4 kB / 0.5563 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.5016, allocations: 148.8 kB / 0.5565 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.5019, allocations: 79.89 kB / 0.5565 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.5058, allocations: 2.164 MB / 0.5587 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.5063, allocations: 59.67 kB / 0.5587 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.5063, allocations: 16 kB / 0.5587 GB, free: 1.223 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004402/0.5068, allocations: 242 kB / 0.559 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.5069, allocations: 51.66 kB / 0.559 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5083, allocations: 479.7 kB / 0.5595 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5083, allocations: 7.938 kB / 0.5595 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5083, allocations: 4 kB / 0.5595 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5083, allocations: 0 / 0.5595 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/0.5092, allocations: 0.6465 MB / 0.5601 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5092, allocations: 7.938 kB / 0.5601 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.5095, allocations: 47.91 kB / 0.5602 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.51, allocations: 148.9 kB / 0.5603 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.51, allocations: 11.94 kB / 0.5603 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.5138, allocations: 2.16 MB / 0.5624 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5138, allocations: 0 / 0.5624 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5155, allocations: 0.6949 MB / 0.5631 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.5157, allocations: 67.58 kB / 0.5632 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.5158, allocations: 12 kB / 0.5632 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.516, allocations: 19.92 kB / 0.5632 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5161, allocations: 39.92 kB / 0.5632 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5162, allocations: 8 kB / 0.5632 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003706/0.5165, allocations: 287.1 kB / 0.5635 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5165, allocations: 0 / 0.5635 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007112/0.5172, allocations: 159.7 kB / 0.5637 GB, free: 11.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.5174, allocations: 107.1 kB / 0.5638 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.5185, allocations: 0.4905 MB / 0.5642 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.5185, allocations: 4 kB / 0.5643 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.5191, allocations: 331.3 kB / 0.5646 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.5198, allocations: 160.3 kB / 0.5647 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.5227, allocations: 1.269 MB / 0.566 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.5234, allocations: 0.925 MB / 0.5669 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.5237, allocations: 88.62 kB / 0.5669 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.5238, allocations: 31.44 kB / 0.567 GB, free: 8.453 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5238, allocations: 0 / 0.567 GB, free: 8.453 MB / 414.1 MB Notification: Performance of Templates: time 0.01785/0.5416, allocations: 8.652 MB / 0.5754 GB, free: 15.9 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.592299954034388] Failed to read output from testmodel.py, exit status != 0: 0.5509015507996082 0.566546901 0.084263764 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7ebfbe57b0>