Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 197 kB / 22.76 MB, free: 5.477 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] 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(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00626/0.252, allocations: 5.094 MB / 426.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.2646, allocations: 10.81 MB / 437.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.2653, allocations: 27.81 kB / 437.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.2671, allocations: 0.7033 MB / 437.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.2702, allocations: 1.01 MB / 438.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2718, allocations: 0.6037 MB / 439.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.2741, allocations: 1.369 MB / 440.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.2744, allocations: 117.2 kB / 441 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.2747, allocations: 294.5 kB / 441.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.2751, allocations: 322 kB / 441.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.2752, allocations: 28 kB / 441.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2767, allocations: 0.7453 MB / 442.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2768, allocations: 103.3 kB / 442.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.2772, allocations: 405.4 kB / 442.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.2789, allocations: 1.28 MB / 444.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2789, allocations: 0 / 444.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2789, allocations: 0 / 444.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.2789, allocations: 0 / 444.2 MB, free: 8.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002007/0.2809, allocations: 1.361 MB / 445.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2809, allocations: 12.03 kB / 445.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.2811, allocations: 120.2 kB / 445.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2822, allocations: 0.7521 MB / 446.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2822, allocations: 24.44 kB / 446.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.2822, allocations: 32 kB / 446.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.2829, allocations: 317.3 kB / 446.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2829, allocations: 0 / 446.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.2829, allocations: 12 kB / 446.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.283, allocations: 8 kB / 446.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.2836, allocations: 278.2 kB / 447.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2856, allocations: 1.365 MB / 448.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.2863, allocations: 278.5 kB / 448.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.2867, allocations: 212.6 kB / 448.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00447/0.2912, allocations: 3.608 MB / 452.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.2916, allocations: 191.3 kB / 452.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.2916, allocations: 3.938 kB / 452.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001658/0.2933, allocations: 0.7271 MB / 453.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2933, allocations: 55.41 kB / 453.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.2943, allocations: 0.8153 MB / 454.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.2943, allocations: 33.7 kB / 454.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.2947, allocations: 444.9 kB / 454.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.2948, allocations: 107 kB / 454.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2949, allocations: 74.02 kB / 455 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2951, allocations: 329.9 kB / 455.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.2954, allocations: 112.7 kB / 455.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2958, allocations: 232 kB / 455.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.2964, allocations: 369.5 kB / 456 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2964, allocations: 4 kB / 456 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001007/0.2975, allocations: 0.5176 MB / 456.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2975, allocations: 8 kB / 456.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.686e-05/0.2975, allocations: 36.44 kB / 456.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.2978, allocations: 57.62 kB / 456.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.2981, allocations: 79.88 kB / 456.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.3003, allocations: 2.84 MB / 459.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.3007, allocations: 43.72 kB / 459.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.3007, allocations: 20 kB / 459.6 MB, free: 7.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.301, allocations: 205.7 kB / 459.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3011, allocations: 111.3 kB / 459.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.3023, allocations: 493.1 kB / 460.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3023, allocations: 4 kB / 460.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3023, allocations: 0 / 460.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3023, allocations: 4 kB / 460.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.3029, allocations: 0.5583 MB / 460.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.3029, allocations: 32 kB / 461 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3032, allocations: 59.73 kB / 461 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.3034, allocations: 49.69 kB / 461.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3034, allocations: 8 kB / 461.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.3055, allocations: 2.844 MB / 463.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3055, allocations: 0 / 463.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3068, allocations: 0.6049 MB / 464.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.307, allocations: 188.3 kB / 464.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.3071, allocations: 8 kB / 464.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3073, allocations: 15.97 kB / 464.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.3074, allocations: 23.97 kB / 464.8 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3075, allocations: 16.06 kB / 464.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007035/0.3082, allocations: 0.5506 MB / 465.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3082, allocations: 0 / 465.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000682/0.3088, allocations: 239.4 kB / 465.6 MB, free: 1.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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,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.00061/0.3094, allocations: 355.9 kB / 465.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3106, allocations: 0.577 MB / 466.5 MB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3106, allocations: 0.875 kB / 466.5 MB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.3112, allocations: 428.8 kB / 466.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.3118, allocations: 119.6 kB / 467 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3145, allocations: 1.566 MB / 468.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3151, allocations: 0.9561 MB / 469.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3152, allocations: 47.44 kB / 469.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3152, allocations: 0 / 469.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02293/0.3382, allocations: 17.61 MB / 487.2 MB, free: 11.3 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480]