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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00145/0.00145, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.479/1.479, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001859/0.001859, allocations: 112 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.676e-05, allocations: 3.938 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07639, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4068, allocations: 84.74 MB / 427.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.407, allocations: 72.61 kB / 427.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06654/0.4735, allocations: 32.68 MB / 460.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4736, allocations: 4 kB / 460.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.4736, allocations: 16 kB / 460.1 MB, free: 8.539 MB / 314.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.002266/0.4759, allocations: 1.028 MB / 461.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.476, allocations: 8.031 kB / 461.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.4762, allocations: 118.6 kB / 461.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.4776, allocations: 0.744 MB / 462 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4776, allocations: 8 kB / 462 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.4777, allocations: 12 kB / 462 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003941/0.4781, allocations: 217 kB / 462.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.4785, allocations: 258.6 kB / 462.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4785, allocations: 4 kB / 462.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4786, allocations: 7.953 kB / 462.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.4786, allocations: 4 kB / 462.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.4809, allocations: 1.135 MB / 463.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.4813, allocations: 174.6 kB / 463.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.4816, allocations: 218.4 kB / 464 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.4939, allocations: 10.77 MB / 474.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.494, allocations: 34.56 kB / 474.8 MB, free: 7.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.494, allocations: 8 kB / 474.8 MB, free: 7.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007477/0.4948, allocations: 330.4 kB / 475.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4948, allocations: 77.11 kB / 475.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/0.4957, allocations: 0.6011 MB / 475.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4958, allocations: 29.64 kB / 475.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.4961, allocations: 436.2 kB / 476.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.4962, allocations: 78.84 kB / 476.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4962, allocations: 0 / 476.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4963, allocations: 321.9 kB / 476.7 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4964, allocations: 56.23 kB / 476.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4966, allocations: 138.1 kB / 476.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.4968, allocations: 75.69 kB / 476.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4968, allocations: 4.031 kB / 476.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000596/0.4974, allocations: 364.6 kB / 477.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4974, allocations: 4 kB / 477.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.4974, allocations: 19.98 kB / 477.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.4978, allocations: 134.7 kB / 477.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.498, allocations: 35.92 kB / 477.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006518/0.4986, allocations: 0.7208 MB / 478.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.499, allocations: 27.8 kB / 478.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.499, allocations: 12 kB / 478.2 MB, free: 4.273 MB / 330.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.0001671/0.4992, allocations: 117.3 kB / 478.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4994, allocations: 102.8 kB / 478.5 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.5002, allocations: 391.4 kB / 478.8 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5002, allocations: 11.94 kB / 478.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5002, allocations: 4 kB / 478.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5002, allocations: 0 / 478.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.5009, allocations: 474.2 kB / 479.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/0.5009, allocations: 12 kB / 479.3 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5011, allocations: 15.98 kB / 479.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.5013, allocations: 140.1 kB / 479.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.5014, allocations: 11.94 kB / 479.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006488/0.502, allocations: 0.7203 MB / 480.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.502, allocations: 0 / 480.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.5026, allocations: 433 kB / 480.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5029, allocations: 175.8 kB / 480.8 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.503, allocations: 0 / 480.8 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5032, allocations: 11.94 kB / 480.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.5033, allocations: 11.98 kB / 480.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5033, allocations: 12 kB / 480.8 MB, free: 1.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006522/0.504, allocations: 474.9 kB / 481.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.504, allocations: 0 / 481.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007478/0.5048, allocations: 203.6 kB / 481.5 MB, free: 0.8867 MB / 330.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.0006258/0.5054, allocations: 326 kB / 481.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.5059, allocations: 255.6 kB / 482.1 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5059, allocations: 4 kB / 482.1 MB, free: 324 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.5062, allocations: 159.4 kB / 482.2 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.5068, allocations: 120.2 kB / 482.3 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.5084, allocations: 0.8382 MB / 483.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.509, allocations: 0.9487 MB / 484.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.5093, allocations: 97.92 kB / 484.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.5094, allocations: 47.42 kB / 484.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5094, allocations: 0 / 484.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Templates: time 0.0163/0.5257, allocations: 7.825 MB / 492.1 MB, free: 6.215 MB / 346.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)