Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008337/0.008337, allocations: 170.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004506, allocations: 14.59 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004276/0.2266, allocations: 4.753 MB / 331.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2391, allocations: 8.677 MB / 340.5 MB, free: 5.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.2401, allocations: 19.88 kB / 340.5 MB, free: 5.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.2414, allocations: 330.2 kB / 340.8 MB, free: 5.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.2443, allocations: 0.6794 MB / 341.5 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.246, allocations: 462 kB / 341.9 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.2485, allocations: 1.615 MB / 343.5 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.2488, allocations: 151.6 kB / 343.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2492, allocations: 258.6 kB / 343.9 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.2496, allocations: 302 kB / 344.2 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.2496, allocations: 16 kB / 344.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.2509, allocations: 0.5542 MB / 344.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.251, allocations: 91.31 kB / 344.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.2514, allocations: 411.2 kB / 345.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2527, allocations: 1.148 MB / 346.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2527, allocations: 7.938 kB / 346.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2527, allocations: 0 / 346.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2527, allocations: 0 / 346.5 MB, free: 15.89 MB / 286.1 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.001611/0.2543, allocations: 1.143 MB / 347.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2544, allocations: 8.031 kB / 347.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.2545, allocations: 111.6 kB / 347.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.2557, allocations: 0.8632 MB / 348.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2557, allocations: 12.56 kB / 348.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.2558, allocations: 24 kB / 348.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.2563, allocations: 311.7 kB / 348.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2563, allocations: 0 / 348.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2564, allocations: 8 kB / 348.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2564, allocations: 16 kB / 348.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.2568, allocations: 234.1 kB / 349.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2584, allocations: 1.198 MB / 350.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.2588, allocations: 194.6 kB / 350.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.2592, allocations: 230 kB / 350.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008398/0.2676, allocations: 8.577 MB / 359.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2677, allocations: 34.55 kB / 359.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.2677, allocations: 0 / 359.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001724/0.2694, allocations: 0.6699 MB / 360.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.2695, allocations: 81.11 kB / 360.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/0.2705, allocations: 0.8027 MB / 360.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2705, allocations: 29.7 kB / 361 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.2709, allocations: 440.6 kB / 361.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.2709, allocations: 86.75 kB / 361.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.271, allocations: 21.66 kB / 361.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.2712, allocations: 325.9 kB / 361.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2714, allocations: 68.2 kB / 361.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.2716, allocations: 158.3 kB / 362.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.272, allocations: 232.9 kB / 362.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.272, allocations: 4 kB / 362.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007772/0.2728, allocations: 412.9 kB / 362.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2728, allocations: 4 kB / 362.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.2728, allocations: 16 kB / 362.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.2732, allocations: 141.1 kB / 362.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2734, allocations: 35.91 kB / 362.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006346/0.2741, allocations: 0.7187 MB / 363.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2743, allocations: 23.75 kB / 363.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.2744, allocations: 12 kB / 363.6 MB, free: 12.91 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.2746, allocations: 193.8 kB / 363.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2748, allocations: 102.8 kB / 363.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.2757, allocations: 427.3 kB / 364.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2757, allocations: 4 kB / 364.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2757, allocations: 0 / 364.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2757, allocations: 0 / 364.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.2764, allocations: 0.5073 MB / 364.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.2764, allocations: 16 kB / 364.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.2766, allocations: 19.92 kB / 364.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.2768, allocations: 136.8 kB / 365 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2769, allocations: 15.92 kB / 365 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/0.2775, allocations: 0.7045 MB / 365.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2775, allocations: 0 / 365.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.278, allocations: 464.2 kB / 366.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.2783, allocations: 175.8 kB / 366.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.2784, allocations: 3.938 kB / 366.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2786, allocations: 8 kB / 366.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.2787, allocations: 15.92 kB / 366.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.2787, allocations: 12 kB / 366.4 MB, free: 10 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006187/0.2793, allocations: 0.5383 MB / 366.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2793, allocations: 0 / 366.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.2799, allocations: 195.8 kB / 367.1 MB, free: 9.262 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005129/0.2804, allocations: 295.7 kB / 367.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.281, allocations: 283.2 kB / 367.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.281, allocations: 0.5625 kB / 367.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.2813, allocations: 183.3 kB / 367.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.2819, allocations: 128.3 kB / 368 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2841, allocations: 1.489 MB / 369.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.2846, allocations: 0.9451 MB / 370.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003694/0.285, allocations: 114.7 kB / 370.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.285, allocations: 47.44 kB / 370.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2851, allocations: 4 kB / 370.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Templates: time 0.01667/0.3017, allocations: 8.686 MB / 379.3 MB, free: 13 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)