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.0009615/0.0009618, allocations: 180.9 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.12/1.12, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001507/0.001507, allocations: 121.2 kB / 256.9 MB, free: 4.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 11.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08042, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.2967, allocations: 85.49 MB / 440.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.297, allocations: 76.11 kB / 440.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06815/0.3652, allocations: 33.97 MB / 474.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3652, allocations: 0 / 474.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3652, allocations: 16 kB / 474.6 MB, free: 4.453 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001771/0.367, allocations: 1.22 MB / 475.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.367, allocations: 8.031 kB / 475.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3672, allocations: 115.5 kB / 476 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.3682, allocations: 0.7567 MB / 476.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3682, allocations: 16.56 kB / 476.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.3683, allocations: 31.91 kB / 476.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.3688, allocations: 307.7 kB / 477.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3688, allocations: 0 / 477.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3688, allocations: 12 kB / 477.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3688, allocations: 11.95 kB / 477.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.3692, allocations: 238.1 kB / 477.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3708, allocations: 1.198 MB / 478.5 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.3711, allocations: 207.6 kB / 478.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009945/0.3811, allocations: 10.7 MB / 489.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3811, allocations: 34.56 kB / 489.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.3811, allocations: 0 / 489.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.00138/0.3825, allocations: 0.646 MB / 490.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3826, allocations: 81.11 kB / 490.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.3834, allocations: 0.6799 MB / 490.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3834, allocations: 25.7 kB / 490.9 MB, free: 2.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.3838, allocations: 444.7 kB / 491.3 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.3839, allocations: 78.89 kB / 491.4 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.3839, allocations: 8 kB / 491.4 MB, free: 1.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.384, allocations: 313.9 kB / 491.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3841, allocations: 68.2 kB / 491.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3843, allocations: 142.4 kB / 491.9 MB, free: 1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3844, allocations: 92.73 kB / 492 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3845, allocations: 0.8438 kB / 492 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005695/0.385, allocations: 405.5 kB / 492.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3851, allocations: 12.28 kB / 492.4 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.3851, allocations: 12 kB / 492.4 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.3854, allocations: 134 kB / 492.6 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3856, allocations: 39.91 kB / 492.6 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005669/0.3862, allocations: 0.7192 MB / 493.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3865, allocations: 31.69 kB / 493.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3865, allocations: 17.25 kB / 493.4 MB, free: 15.52 MB / 378.7 MB 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 () * Number of clocked 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.0002404/0.3867, allocations: 199 kB / 493.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3869, allocations: 110.8 kB / 493.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.3877, allocations: 423.4 kB / 494.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3877, allocations: 7.953 kB / 494.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3877, allocations: 3.875 kB / 494.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3877, allocations: 3.938 kB / 494.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.3882, allocations: 0.5035 MB / 494.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.3883, allocations: 12 kB / 494.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3884, allocations: 19.98 kB / 494.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.3886, allocations: 137.9 kB / 494.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3886, allocations: 4 kB / 494.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005052/0.3892, allocations: 0.7079 MB / 495.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3892, allocations: 0 / 495.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.3897, allocations: 470.1 kB / 495.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.3899, allocations: 179.8 kB / 496.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.39, allocations: 4 kB / 496.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.3902, allocations: 15.94 kB / 496.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3903, allocations: 15.92 kB / 496.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3903, allocations: 8 kB / 496.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.3909, allocations: 0.5383 MB / 496.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3909, allocations: 4 kB / 496.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.3915, allocations: 215.7 kB / 496.9 MB, free: 11.84 MB / 378.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 () * Number of clocked 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.0004431/0.3919, allocations: 324 kB / 497.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.3924, allocations: 279.7 kB / 497.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3924, allocations: 0 / 497.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.3927, allocations: 179.3 kB / 497.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3931, allocations: 125.8 kB / 497.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3948, allocations: 1.403 MB / 499.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.3952, allocations: 0.9529 MB / 0.4884 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.3955, allocations: 98.02 kB / 0.4885 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.3956, allocations: 47.44 kB / 0.4886 GB, free: 8.363 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3956, allocations: 0 / 0.4886 GB, free: 8.363 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.41, allocations: 8.645 MB / 0.497 GB, free: 15.74 MB / 394.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)