Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [: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.001578/0.001578, allocations: 197.1 kB / 8.139 MB, free: 2.191 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.201/1.201, 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.001765/0.001765, allocations: 113.9 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.524e-05, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07443/0.07446, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.276, allocations: 84.67 MB / 426.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.2762, allocations: 73.64 kB / 426.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07332/0.3495, allocations: 32.66 MB / 459.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.3496, allocations: 16 kB / 459.5 MB, free: 1.477 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001708/0.3513, allocations: 1.044 MB / 460.5 MB, free: 396 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3514, allocations: 10.66 kB / 460.5 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3516, allocations: 110.7 kB / 460.6 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3528, allocations: 0.751 MB / 461.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3528, allocations: 8 kB / 461.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.3529, allocations: 20 kB / 461.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004016/0.3533, allocations: 209.1 kB / 461.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.3537, allocations: 270.7 kB / 461.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3537, allocations: 0 / 461.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3538, allocations: 0 / 461.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3538, allocations: 8 kB / 461.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.3557, allocations: 1.136 MB / 463 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.356, allocations: 145.6 kB / 463.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.3563, allocations: 201.5 kB / 463.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.3675, allocations: 10.72 MB / 474.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3675, allocations: 38.56 kB / 474.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.3676, allocations: 0 / 474.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007684/0.3683, allocations: 334.5 kB / 474.4 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3684, allocations: 81.11 kB / 474.5 MB, free: 372 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.3693, allocations: 0.5972 MB / 475.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3693, allocations: 25.7 kB / 475.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3695, allocations: 252.1 kB / 475.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.3696, allocations: 78.84 kB / 475.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.3696, allocations: 0 / 475.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3697, allocations: 322 kB / 475.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3698, allocations: 56.23 kB / 475.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.37, allocations: 130.2 kB / 476 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.3702, allocations: 80 kB / 476 MB, free: 14.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3702, allocations: 0 / 476 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007082/0.3709, allocations: 371.9 kB / 476.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3709, allocations: 4 kB / 476.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.371, allocations: 15.98 kB / 476.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.3714, allocations: 133.6 kB / 476.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3716, allocations: 36.2 kB / 476.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008053/0.3724, allocations: 0.7309 MB / 477.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3728, allocations: 27.8 kB / 477.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.3728, allocations: 12 kB / 477.4 MB, free: 13.43 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.373, allocations: 116.6 kB / 477.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3731, allocations: 102.8 kB / 477.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3743, allocations: 448.4 kB / 478 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3743, allocations: 0 / 478 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3743, allocations: 0 / 478 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3743, allocations: 4 kB / 478 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.3749, allocations: 471 kB / 478.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/0.375, allocations: 18 kB / 478.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3751, allocations: 23.97 kB / 478.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.3755, allocations: 136.2 kB / 478.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3755, allocations: 4 kB / 478.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000693/0.3762, allocations: 0.7318 MB / 479.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3762, allocations: 0 / 479.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006143/0.3768, allocations: 442.1 kB / 479.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.3771, allocations: 171.9 kB / 480 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3772, allocations: 0 / 480 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.3775, allocations: 4 kB / 480 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3775, allocations: 19.92 kB / 480 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3776, allocations: 15.98 kB / 480 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005419/0.3781, allocations: 474.9 kB / 480.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006545/0.3788, allocations: 207.9 kB / 480.7 MB, free: 9.969 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005986/0.3794, allocations: 324.8 kB / 481 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.3799, allocations: 246.4 kB / 481.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3799, allocations: 0.5625 kB / 481.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.3802, allocations: 174.8 kB / 481.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.3807, allocations: 112.5 kB / 481.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3824, allocations: 0.8228 MB / 482.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.383, allocations: 1.007 MB / 483.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.383, allocations: 0 / 483.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of Templates: time 0.01664/0.3996, allocations: 8.223 MB / 491.6 MB, free: 15.02 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)