Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001253/0.001253, allocations: 157.5 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.34/1.34, allocations: 170.7 MB / 178.7 MB, free: 7.043 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001599/0.001599, allocations: 103.7 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.564e-05, allocations: 0 / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3207, allocations: 79.8 MB / 380.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.321, allocations: 73.19 kB / 380.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07738/0.3984, allocations: 32.79 MB / 413.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3984, allocations: 1.594 kB / 413.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.498e-05/0.3985, allocations: 12 kB / 413.6 MB, free: 14.84 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.002232/0.4007, allocations: 1.037 MB / 414.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4008, allocations: 12.03 kB / 414.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.4011, allocations: 110.7 kB / 414.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4023, allocations: 0.7468 MB / 415.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4023, allocations: 8 kB / 415.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.4024, allocations: 23.84 kB / 415.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003814/0.4027, allocations: 209.1 kB / 415.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.4032, allocations: 262.6 kB / 416 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4032, allocations: 0 / 416 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.4032, allocations: 7.938 kB / 416.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.4033, allocations: 12 kB / 416.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4051, allocations: 1.137 MB / 417.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.4054, allocations: 187.5 kB / 417.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.4057, allocations: 205.3 kB / 417.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1909/0.5965, allocations: 10.76 MB / 428.3 MB, free: 87.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5966, allocations: 34.11 kB / 428.4 MB, free: 86.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/0.5966, allocations: 3.188 kB / 428.4 MB, free: 86.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007308/0.5973, allocations: 331.7 kB / 428.7 MB, free: 86.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.5974, allocations: 79.83 kB / 428.8 MB, free: 86.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.5984, allocations: 0.6021 MB / 429.4 MB, free: 86.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5984, allocations: 26.31 kB / 429.4 MB, free: 86.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.5987, allocations: 437 kB / 429.8 MB, free: 86.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.5988, allocations: 76.06 kB / 429.9 MB, free: 86.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5988, allocations: 0 / 429.9 MB, free: 86.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.5989, allocations: 323.1 kB / 430.2 MB, free: 86.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.599, allocations: 53.94 kB / 430.3 MB, free: 86.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.5991, allocations: 134.2 kB / 430.4 MB, free: 86.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.5993, allocations: 74.38 kB / 430.5 MB, free: 86.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5993, allocations: 1.906 kB / 430.5 MB, free: 86.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006024/0.5999, allocations: 365.5 kB / 430.8 MB, free: 86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5999, allocations: 6.75 kB / 430.9 MB, free: 86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.6, allocations: 15.83 kB / 430.9 MB, free: 86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.6003, allocations: 130.5 kB / 431 MB, free: 85.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6005, allocations: 41.31 kB / 431 MB, free: 85.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/0.6012, allocations: 0.7275 MB / 431.8 MB, free: 85.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.6015, allocations: 21.56 kB / 431.8 MB, free: 85.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.6016, allocations: 13.33 kB / 431.8 MB, free: 85.46 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.0001405/0.6017, allocations: 111.8 kB / 431.9 MB, free: 85.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6019, allocations: 106.2 kB / 432 MB, free: 85.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.6027, allocations: 399.8 kB / 432.4 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6028, allocations: 2.188 kB / 432.4 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6028, allocations: 1.219 kB / 432.4 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6028, allocations: 2.75 kB / 432.4 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.6034, allocations: 473.7 kB / 432.9 MB, free: 85.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.6034, allocations: 12.86 kB / 432.9 MB, free: 85.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6035, allocations: 21.05 kB / 432.9 MB, free: 85.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.6038, allocations: 136.4 kB / 433 MB, free: 85.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.6039, allocations: 7.094 kB / 433 MB, free: 85.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005164/0.6044, allocations: 0.7164 MB / 433.8 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6044, allocations: 0 / 433.8 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.605, allocations: 440.1 kB / 434.2 MB, free: 84.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.6052, allocations: 179.8 kB / 434.4 MB, free: 84.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.6053, allocations: 4.031 kB / 434.4 MB, free: 84.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6056, allocations: 10.34 kB / 434.4 MB, free: 84.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.6056, allocations: 14.42 kB / 434.4 MB, free: 84.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.6057, allocations: 8.391 kB / 434.4 MB, free: 84.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006391/0.6063, allocations: 474 kB / 434.9 MB, free: 84.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6063, allocations: 0 / 434.9 MB, free: 84.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006987/0.607, allocations: 205.4 kB / 435.1 MB, free: 84.08 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.0006375/0.6077, allocations: 327.9 kB / 435.4 MB, free: 83.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.6083, allocations: 246.9 kB / 435.6 MB, free: 83.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6083, allocations: 3.406 kB / 435.6 MB, free: 83.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.6086, allocations: 168.2 kB / 435.8 MB, free: 83.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.6093, allocations: 129.1 kB / 435.9 MB, free: 83.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.6108, allocations: 0.8243 MB / 436.7 MB, free: 83.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.6112, allocations: 0.9577 MB / 437.7 MB, free: 82.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.6116, allocations: 94.64 kB / 437.8 MB, free: 82.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.6117, allocations: 46.56 kB / 437.8 MB, free: 82.84 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6117, allocations: 1.125 kB / 437.8 MB, free: 82.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01737/0.6291, allocations: 7.839 MB / 445.7 MB, free: 82.32 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)