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.00735/0.00735, allocations: 165.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.335/1.335, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001661/0.001661, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004125, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 38.77 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09507/0.3022, allocations: 80.56 MB / 393.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.3025, allocations: 71.97 kB / 393.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2142/0.5167, allocations: 34.09 MB / 427.6 MB, free: 78.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5168, allocations: 0 / 427.6 MB, free: 78.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5168, allocations: 13.19 kB / 427.6 MB, free: 78.25 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.001917/0.5187, allocations: 1.219 MB / 428.8 MB, free: 77.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5188, allocations: 8.969 kB / 428.8 MB, free: 77.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.5189, allocations: 114 kB / 429 MB, free: 77.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5199, allocations: 0.7624 MB / 429.7 MB, free: 77.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.52, allocations: 16.31 kB / 429.7 MB, free: 77.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.52, allocations: 25.69 kB / 429.8 MB, free: 77.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.5205, allocations: 313.5 kB / 430.1 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5205, allocations: 0 / 430.1 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5205, allocations: 17.66 kB / 430.1 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5206, allocations: 6.156 kB / 430.1 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.521, allocations: 237.9 kB / 430.3 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.5226, allocations: 1.207 MB / 431.5 MB, free: 76.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.523, allocations: 193.7 kB / 431.7 MB, free: 76.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008479/0.5315, allocations: 10.72 MB / 442.4 MB, free: 66.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.5315, allocations: 37.84 kB / 442.5 MB, free: 66.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.394e-06/0.5316, allocations: 0 / 442.5 MB, free: 66.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001323/0.5329, allocations: 0.634 MB / 443.1 MB, free: 66.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.5329, allocations: 77.11 kB / 443.2 MB, free: 66.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.5336, allocations: 0.6794 MB / 443.9 MB, free: 65.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.5337, allocations: 33.64 kB / 443.9 MB, free: 65.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5339, allocations: 436.4 kB / 444.3 MB, free: 65.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.534, allocations: 84.95 kB / 444.4 MB, free: 65.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.534, allocations: 4 kB / 444.4 MB, free: 65.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.534, allocations: 315.9 kB / 444.7 MB, free: 65.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.5342, allocations: 74.52 kB / 444.8 MB, free: 65.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5343, allocations: 146.2 kB / 444.9 MB, free: 64.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5345, allocations: 91.77 kB / 445 MB, free: 64.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5345, allocations: 0 / 445 MB, free: 64.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005047/0.535, allocations: 415.8 kB / 445.4 MB, free: 64.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.535, allocations: 7.375 kB / 445.4 MB, free: 64.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5351, allocations: 18.58 kB / 445.5 MB, free: 64.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.5354, allocations: 144.7 kB / 445.6 MB, free: 64.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.5355, allocations: 29.41 kB / 445.6 MB, free: 64.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/0.536, allocations: 0.7162 MB / 446.3 MB, free: 64.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.5364, allocations: 33.03 kB / 446.4 MB, free: 64.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.5364, allocations: 10.03 kB / 446.4 MB, free: 64.06 MB / 314.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.0002148/0.5366, allocations: 198 kB / 446.6 MB, free: 63.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5367, allocations: 102.3 kB / 446.7 MB, free: 63.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.5375, allocations: 432.8 kB / 447.1 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5376, allocations: 3.469 kB / 447.1 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5376, allocations: 3.891 kB / 447.1 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5376, allocations: 0.9375 kB / 447.1 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.5381, allocations: 0.5079 MB / 447.6 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.5381, allocations: 19.45 kB / 447.6 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5382, allocations: 19.19 kB / 447.7 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.5385, allocations: 135 kB / 447.8 MB, free: 63.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5385, allocations: 11.59 kB / 447.8 MB, free: 63.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004343/0.5389, allocations: 0.7027 MB / 448.5 MB, free: 62.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.539, allocations: 6.188 kB / 448.5 MB, free: 62.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.5395, allocations: 472.2 kB / 449 MB, free: 62.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.5397, allocations: 174.8 kB / 449.1 MB, free: 62.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.5398, allocations: 4 kB / 449.1 MB, free: 62.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.54, allocations: 15.19 kB / 449.2 MB, free: 62.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.5401, allocations: 15.7 kB / 449.2 MB, free: 62.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.5401, allocations: 7.844 kB / 449.2 MB, free: 62.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00054/0.5406, allocations: 0.5424 MB / 449.7 MB, free: 62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5407, allocations: 0 / 449.7 MB, free: 62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.5414, allocations: 207.8 kB / 449.9 MB, free: 61.96 MB / 314.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.0005072/0.5419, allocations: 324.1 kB / 450.2 MB, free: 61.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.5425, allocations: 277.1 kB / 450.5 MB, free: 61.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5425, allocations: 0 / 450.5 MB, free: 61.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.5428, allocations: 191.7 kB / 450.7 MB, free: 61.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.5432, allocations: 123.3 kB / 450.8 MB, free: 61.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.5451, allocations: 1.403 MB / 452.2 MB, free: 60.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5455, allocations: 0.9579 MB / 453.2 MB, free: 60.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.5459, allocations: 93.38 kB / 453.3 MB, free: 59.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.5459, allocations: 53.7 kB / 453.3 MB, free: 59.97 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5459, allocations: 0 / 453.3 MB, free: 59.97 MB / 314.7 MB Notification: Performance of Templates: time 0.0145/0.5604, allocations: 8.654 MB / 462 MB, free: 56.62 MB / 314.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)