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.00139/0.00139, allocations: 170 kB / 12.72 MB, free: 2.594 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.425/1.425, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001558/0.001558, allocations: 102.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.732e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0696/0.06966, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2748/0.3445, allocations: 80.46 MB / 388.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3449, allocations: 70.09 kB / 388.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07369/0.4186, allocations: 34.06 MB / 422.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4186, allocations: 0 / 422.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.4186, allocations: 12 kB / 422.2 MB, free: 14.52 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.001645/0.4203, allocations: 1.039 MB / 423.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4203, allocations: 12.03 kB / 423.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.4205, allocations: 110.7 kB / 423.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4215, allocations: 0.7471 MB / 424.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4216, allocations: 23.19 kB / 424.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.4216, allocations: 22.62 kB / 424.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.4221, allocations: 296.8 kB / 424.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4221, allocations: 4 kB / 424.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.4221, allocations: 15.73 kB / 424.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.4222, allocations: 11.98 kB / 424.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.4225, allocations: 216 kB / 424.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.4242, allocations: 1.217 MB / 425.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.4245, allocations: 186.8 kB / 426.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4248, allocations: 215.5 kB / 426.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.4365, allocations: 10.78 MB / 437.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4366, allocations: 38.56 kB / 437.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 4.078e-06/0.4366, allocations: 0 / 437.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007043/0.4373, allocations: 361 kB / 437.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4374, allocations: 81.11 kB / 437.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.4382, allocations: 0.6691 MB / 438.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.4382, allocations: 33.7 kB / 438.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.4386, allocations: 432.5 kB / 438.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.4386, allocations: 78.83 kB / 438.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.4387, allocations: 12 kB / 438.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.4388, allocations: 310 kB / 439.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.4389, allocations: 68.22 kB / 439.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4391, allocations: 137.8 kB / 439.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4392, allocations: 83.89 kB / 439.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4392, allocations: 4 kB / 439.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005265/0.4398, allocations: 385.1 kB / 439.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4398, allocations: 8 kB / 439.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.4398, allocations: 12 kB / 439.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.4402, allocations: 148.4 kB / 439.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4404, allocations: 35.91 kB / 440 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006082/0.441, allocations: 0.7045 MB / 440.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.4413, allocations: 35.73 kB / 440.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.4414, allocations: 12 kB / 440.7 MB, free: 10.82 MB / 330.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 () * 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.0001007/0.4415, allocations: 114.5 kB / 440.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4416, allocations: 102.8 kB / 440.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008583/0.4424, allocations: 423 kB / 441.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4425, allocations: 0 / 441.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4425, allocations: 3.984 kB / 441.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4425, allocations: 7.953 kB / 441.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.4431, allocations: 0.5113 MB / 441.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.4431, allocations: 15.94 kB / 441.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.4433, allocations: 15.98 kB / 441.9 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.4435, allocations: 128.8 kB / 442 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4436, allocations: 15.98 kB / 442 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005508/0.4441, allocations: 0.7083 MB / 442.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4441, allocations: 4.031 kB / 442.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.4446, allocations: 448.1 kB / 443.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.4449, allocations: 171.9 kB / 443.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.4449, allocations: 4 kB / 443.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4452, allocations: 7.984 kB / 443.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.4452, allocations: 23.88 kB / 443.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4453, allocations: 8 kB / 443.4 MB, free: 8.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005674/0.4458, allocations: 0.5314 MB / 443.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4458, allocations: 0 / 443.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006492/0.4465, allocations: 211.6 kB / 444.1 MB, free: 7.258 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.0004965/0.447, allocations: 323.9 kB / 444.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.4475, allocations: 260.4 kB / 444.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4475, allocations: 4 kB / 444.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.4478, allocations: 171.4 kB / 444.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.4482, allocations: 124.4 kB / 445 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.4496, allocations: 0.8397 MB / 445.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4501, allocations: 0.9607 MB / 446.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.4504, allocations: 98.02 kB / 446.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.4505, allocations: 47.44 kB / 446.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4505, allocations: 0 / 446.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of Templates: time 0.01671/0.4672, allocations: 8.969 MB / 455.9 MB, free: 11.38 MB / 346.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)