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.001968/0.001968, allocations: 112.3 kB / 18.5 MB, free: 4.582 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.002279/0.002279, allocations: 197 kB / 21.45 MB, free: 1.633 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001905/0.001905, allocations: 63.91 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.2027/0.3059, allocations: 8.065 MB / 435.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3274, allocations: 19.53 MB / 454.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3286, allocations: 62.31 kB / 454.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.3311, allocations: 0.8579 MB / 455.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006268/0.3374, allocations: 1.813 MB / 457.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.3423, allocations: 1.343 MB / 458.8 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.3479, allocations: 3.308 MB / 462.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.3482, allocations: 128.2 kB / 462.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.3491, allocations: 0.5663 MB / 462.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006713/0.3497, allocations: 0.5669 MB / 463.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.3498, allocations: 40.38 kB / 463.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.3538, allocations: 1.447 MB / 464.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.354, allocations: 167.7 kB / 465 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000715/0.3547, allocations: 0.6812 MB / 465.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.3584, allocations: 2.229 MB / 467.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3584, allocations: 0 / 467.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3584, allocations: 0.75 kB / 467.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.3585, allocations: 0 / 467.9 MB, free: 3.531 MB / 366.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.003478/0.3619, allocations: 2.071 MB / 470 MB, free: 1.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.362, allocations: 9.156 kB / 470 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.3622, allocations: 201.6 kB / 470.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.3642, allocations: 1.368 MB / 471.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3642, allocations: 14.72 kB / 471.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/0.3643, allocations: 29.94 kB / 471.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.3653, allocations: 436.6 kB / 472.1 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3653, allocations: 5.016 kB / 472.1 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.3654, allocations: 10.12 kB / 472.1 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3654, allocations: 11.47 kB / 472.1 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3665, allocations: 476.5 kB / 472.5 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.3693, allocations: 1.613 MB / 474.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.3703, allocations: 346.7 kB / 474.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.371, allocations: 373 kB / 474.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01693/0.3879, allocations: 15.54 MB / 490.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.3886, allocations: 255.2 kB / 490.6 MB, free: 14.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.3886, allocations: 0 / 490.6 MB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.002265/0.3909, allocations: 0.8418 MB / 491.5 MB, free: 14.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3909, allocations: 63.33 kB / 491.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3928, allocations: 1.452 MB / 493 MB, free: 12.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.3928, allocations: 33.7 kB / 493 MB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.3935, allocations: 0.7232 MB / 493.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.3936, allocations: 99.2 kB / 493.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3938, allocations: 138 kB / 494 MB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3939, allocations: 322 kB / 494.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.3944, allocations: 164.9 kB / 494.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.395, allocations: 359.4 kB / 494.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3961, allocations: 0.5333 MB / 495.3 MB, free: 9.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3961, allocations: 0 / 495.3 MB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001555/0.3976, allocations: 0.7525 MB / 496.1 MB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3976, allocations: 8 kB / 496.1 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/0.3977, allocations: 48.08 kB / 496.2 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.398, allocations: 132.8 kB / 496.3 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.3985, allocations: 107.8 kB / 496.4 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006644/0.3991, allocations: 0.6773 MB / 497.1 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.3998, allocations: 75.53 kB / 497.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.3999, allocations: 36 kB / 497.2 MB, free: 8.043 MB / 398.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.0003939/0.4003, allocations: 273.6 kB / 497.4 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4005, allocations: 202.7 kB / 497.6 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.4024, allocations: 0.7291 MB / 498.4 MB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4024, allocations: 4 kB / 498.4 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4024, allocations: 4 kB / 498.4 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4024, allocations: 3.984 kB / 498.4 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.4047, allocations: 1.308 MB / 499.7 MB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-05/0.4048, allocations: 39.98 kB / 499.7 MB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.4051, allocations: 39.95 kB / 499.8 MB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.4053, allocations: 140.5 kB / 499.9 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.4054, allocations: 24.81 kB / 499.9 MB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006188/0.406, allocations: 0.6579 MB / 0.4889 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.406, allocations: 4.031 kB / 0.4889 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4074, allocations: 0.718 MB / 0.4896 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.4078, allocations: 291.7 kB / 0.4898 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.408, allocations: 8 kB / 0.4898 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.4085, allocations: 26.41 kB / 0.4899 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4086, allocations: 47.83 kB / 0.4899 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.4086, allocations: 20 kB / 0.4899 GB, free: 3.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.4099, allocations: 0.9649 MB / 0.4909 GB, free: 2.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4099, allocations: 8 kB / 0.4909 GB, free: 2.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009367/0.4108, allocations: 327.6 kB / 0.4912 GB, free: 2.055 MB / 398.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.0008956/0.4117, allocations: 0.5613 MB / 0.4917 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.413, allocations: 0.5005 MB / 0.4922 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.413, allocations: 3.938 kB / 0.4922 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.4137, allocations: 271.5 kB / 0.4925 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.4151, allocations: 318.3 kB / 0.4928 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.4187, allocations: 2.243 MB / 0.495 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/0.4195, allocations: 1.145 MB / 0.4961 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.42, allocations: 207.9 kB / 0.4963 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.4201, allocations: 87.44 kB / 0.4964 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4201, allocations: 0 / 0.4964 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.0349/0.455, allocations: 19.99 MB / 0.5159 GB, free: 8.719 MB / 430.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.337520879693329]