Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 214.9 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1999,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1999,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.01008/0.2533, allocations: 8.073 MB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02732/0.2807, allocations: 19.54 MB / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.2826, allocations: 63.44 kB / 457.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.2857, allocations: 0.849 MB / 458.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008903/0.2946, allocations: 1.822 MB / 460.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.3012, allocations: 1.363 MB / 461.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.3072, allocations: 3.3 MB / 464.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.3077, allocations: 136.7 kB / 464.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009691/0.3086, allocations: 0.5638 MB / 465.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.3096, allocations: 0.5629 MB / 466.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.3098, allocations: 40 kB / 466.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.3139, allocations: 1.447 MB / 467.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.3141, allocations: 174.8 kB / 467.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000809/0.3149, allocations: 0.6715 MB / 468.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.3185, allocations: 2.221 MB / 470.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3185, allocations: 4 kB / 470.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3185, allocations: 3.938 kB / 470.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.3185, allocations: 0 / 470.6 MB, free: 14.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003099/0.3216, allocations: 2.066 MB / 472.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3216, allocations: 16.03 kB / 472.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.3219, allocations: 206.7 kB / 472.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3238, allocations: 1.371 MB / 474.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3238, allocations: 16.56 kB / 474.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.3239, allocations: 28 kB / 474.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.3248, allocations: 429.2 kB / 474.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3249, allocations: 7.938 kB / 474.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.3249, allocations: 12 kB / 474.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.3249, allocations: 15.98 kB / 474.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.326, allocations: 470.1 kB / 475.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.329, allocations: 1.623 MB / 476.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.3299, allocations: 347.3 kB / 477.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.3306, allocations: 369.8 kB / 477.6 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.3468, allocations: 15.52 MB / 493.1 MB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006345/0.3474, allocations: 259.2 kB / 493.3 MB, free: 5.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.3474, allocations: 0 / 493.3 MB, free: 5.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.002141/0.3496, allocations: 0.8534 MB / 494.2 MB, free: 4.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3496, allocations: 63.34 kB / 494.3 MB, free: 4.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.3514, allocations: 1.452 MB / 495.7 MB, free: 2.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3515, allocations: 29.7 kB / 495.7 MB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.3521, allocations: 0.7193 MB / 496.5 MB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.3522, allocations: 107.2 kB / 496.6 MB, free: 2.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3524, allocations: 130.1 kB / 496.7 MB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3526, allocations: 330 kB / 497 MB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.353, allocations: 161 kB / 497.2 MB, free: 1.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.3536, allocations: 359.5 kB / 497.5 MB, free: 1.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3547, allocations: 0.5255 MB / 498 MB, free: 432 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.3547, allocations: 4 kB / 498 MB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001545/0.3562, allocations: 0.7635 MB / 498.8 MB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3562, allocations: 8 kB / 498.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.3563, allocations: 40.84 kB / 498.9 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.3566, allocations: 136.8 kB / 499 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.3571, allocations: 103.8 kB / 499.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/0.3578, allocations: 0.6809 MB / 499.8 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.3584, allocations: 79.64 kB / 499.8 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.3585, allocations: 32 kB / 499.9 MB, free: 14.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000427/0.3589, allocations: 269.7 kB / 0.4884 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.3591, allocations: 198.7 kB / 0.4886 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.3609, allocations: 0.7347 MB / 0.4893 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3609, allocations: 0 / 0.4893 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3609, allocations: 0 / 0.4893 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3609, allocations: 3.984 kB / 0.4893 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3632, allocations: 1.315 MB / 0.4906 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.858e-05/0.3632, allocations: 40 kB / 0.4907 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.3635, allocations: 39.95 kB / 0.4907 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.3637, allocations: 124.8 kB / 0.4908 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.3638, allocations: 28 kB / 0.4908 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006887/0.3645, allocations: 0.6733 MB / 0.4915 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3645, allocations: 0 / 0.4915 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.366, allocations: 0.718 MB / 0.4922 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.3665, allocations: 295.7 kB / 0.4925 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.3666, allocations: 7.938 kB / 0.4925 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.367, allocations: 36.08 kB / 0.4925 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3672, allocations: 39.91 kB / 0.4926 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3672, allocations: 27.98 kB / 0.4926 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001413/0.3686, allocations: 0.9571 MB / 0.4935 GB, free: 8.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3686, allocations: 0 / 0.4935 GB, free: 8.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.3696, allocations: 327.6 kB / 0.4938 GB, free: 8.547 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000937/0.3705, allocations: 0.5653 MB / 0.4944 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3719, allocations: 0.5044 MB / 0.4949 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3719, allocations: 0 / 0.4949 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.3726, allocations: 286.4 kB / 0.4952 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3739, allocations: 314.9 kB / 0.4955 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.3777, allocations: 2.242 MB / 0.4976 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/0.3785, allocations: 1.149 MB / 0.4988 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005899/0.3791, allocations: 203.9 kB / 0.499 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3792, allocations: 95.36 kB / 0.499 GB, free: 3.098 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3792, allocations: 0 / 0.499 GB, free: 3.098 MB / 414.1 MB Notification: Performance of Templates: time 0.03616/0.4154, allocations: 20.12 MB / 0.5187 GB, free: 15.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.086759781464934]