Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001083/0.001083, allocations: 190.2 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.171/1.171, allocations: 194.2 MB / 202.8 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001815/0.001815, allocations: 118.2 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.992e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07186, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.2701, allocations: 85.28 MB / 427.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.2703, allocations: 72.44 kB / 427.4 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0833/0.3536, allocations: 41.12 MB / 468.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.3537, allocations: 12 kB / 468.5 MB, free: 8.484 MB / 346.7 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.001932/0.3556, allocations: 1.126 MB / 469.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3557, allocations: 12.03 kB / 469.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3559, allocations: 114.7 kB / 469.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3571, allocations: 0.7197 MB / 470.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3571, allocations: 8 kB / 470.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.3572, allocations: 16 kB / 470.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004278/0.3576, allocations: 209.7 kB / 470.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.3581, allocations: 252.8 kB / 471 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3581, allocations: 0 / 471 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3581, allocations: 3.75 kB / 471 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.3582, allocations: 11.98 kB / 471 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.3604, allocations: 1.341 MB / 472.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.3608, allocations: 222.9 kB / 472.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.3611, allocations: 206.1 kB / 472.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005456/0.3666, allocations: 4.218 MB / 477 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.3669, allocations: 148.9 kB / 477.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/0.3669, allocations: 4 kB / 477.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009744/0.3679, allocations: 409.7 kB / 477.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3679, allocations: 55.59 kB / 477.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.3689, allocations: 0.6493 MB / 478.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3689, allocations: 25.7 kB / 478.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3691, allocations: 256.3 kB / 478.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.3692, allocations: 94.64 kB / 478.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.3692, allocations: 7.938 kB / 478.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3694, allocations: 321.9 kB / 478.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3695, allocations: 84.77 kB / 479 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3698, allocations: 183.8 kB / 479.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.3701, allocations: 163.7 kB / 479.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3702, allocations: 0 / 479.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000896/0.3711, allocations: 489.7 kB / 479.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3711, allocations: 8 kB / 479.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-05/0.3712, allocations: 31.98 kB / 479.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.3714, allocations: 57.67 kB / 479.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.3718, allocations: 80.23 kB / 480 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.3737, allocations: 2.549 MB / 482.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.3742, allocations: 43.78 kB / 482.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.3742, allocations: 16 kB / 482.6 MB, free: 9.219 MB / 362.7 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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.3743, allocations: 124.5 kB / 482.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3745, allocations: 102.8 kB / 482.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3758, allocations: 0.5073 MB / 483.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3758, allocations: 4 kB / 483.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3758, allocations: 0 / 483.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3758, allocations: 7.984 kB / 483.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.3765, allocations: 0.5149 MB / 483.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-05/0.3765, allocations: 28 kB / 483.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.3768, allocations: 55.83 kB / 483.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.377, allocations: 49.69 kB / 484 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.377, allocations: 8 kB / 484 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.3789, allocations: 2.532 MB / 486.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3789, allocations: 3.906 kB / 486.5 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009458/0.3799, allocations: 0.5612 MB / 487.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3801, allocations: 187.9 kB / 487.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3802, allocations: 6.625 kB / 487.3 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.3806, allocations: 27.88 kB / 487.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.3806, allocations: 19.97 kB / 487.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3807, allocations: 12 kB / 487.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006207/0.3813, allocations: 0.4957 MB / 487.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007696/0.3821, allocations: 267.6 kB / 488.1 MB, free: 3.383 MB / 362.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00082/0.3829, allocations: 499.5 kB / 488.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007218/0.3836, allocations: 0.4893 MB / 489.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3837, allocations: 4 kB / 489.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.3841, allocations: 384.9 kB / 489.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3845, allocations: 94.38 kB / 489.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3866, allocations: 1.043 MB / 490.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/0.3872, allocations: 1.024 MB / 491.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3872, allocations: 0 / 491.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01699/0.4042, allocations: 7.922 MB / 499.5 MB, free: 7.875 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)