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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001247/0.001247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.0004585/0.0004585, allocations: 10.81 kB / 278.9 MB, free: 12.94 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 47.59 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004911/0.2606, allocations: 4.458 MB / 330.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.271, allocations: 7.885 MB / 338.8 MB, free: 7.148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.2718, allocations: 19.88 kB / 338.8 MB, free: 7.129 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.2728, allocations: 290.4 kB / 339.1 MB, free: 6.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.2753, allocations: 0.6521 MB / 339.8 MB, free: 6.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.2769, allocations: 430 kB / 340.2 MB, free: 5.766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.2796, allocations: 1.552 MB / 341.7 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.28, allocations: 143 kB / 341.9 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.2805, allocations: 246.8 kB / 342.1 MB, free: 3.812 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.2809, allocations: 286.3 kB / 342.4 MB, free: 3.531 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.281, allocations: 16 kB / 342.4 MB, free: 3.516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2826, allocations: 0.5074 MB / 342.9 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.2827, allocations: 83.39 kB / 343 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.2829, allocations: 197.2 kB / 343.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.2838, allocations: 0.8608 MB / 344.1 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2838, allocations: 0 / 344.1 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2838, allocations: 0 / 344.1 MB, free: 1.863 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2838, allocations: 0 / 344.1 MB, free: 1.863 MB / 270.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.001591/0.2854, allocations: 1.159 MB / 345.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2855, allocations: 8.031 kB / 345.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2856, allocations: 110.7 kB / 345.3 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2868, allocations: 0.813 MB / 346.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2868, allocations: 16.56 kB / 346.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.2869, allocations: 28 kB / 346.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.2874, allocations: 307.7 kB / 346.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2874, allocations: 0 / 346.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.2875, allocations: 16 kB / 346.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2875, allocations: 4 kB / 346.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.288, allocations: 242.1 kB / 346.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.2897, allocations: 1.183 MB / 347.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.2901, allocations: 202.6 kB / 348.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.2904, allocations: 229.9 kB / 348.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00958/0.3, allocations: 8.578 MB / 356.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3001, allocations: 38.5 kB / 357 MB, free: 3.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/0.3001, allocations: 4 kB / 357 MB, free: 3.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001599/0.3018, allocations: 0.6661 MB / 357.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.3019, allocations: 81.11 kB / 357.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.303, allocations: 0.7831 MB / 358.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.303, allocations: 29.7 kB / 358.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.3035, allocations: 448.7 kB / 359 MB, free: 1.273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.3035, allocations: 74.81 kB / 359 MB, free: 1.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.3036, allocations: 8 kB / 359 MB, free: 1.191 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3037, allocations: 321.9 kB / 359.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3039, allocations: 68.47 kB / 359.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3042, allocations: 153.8 kB / 359.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3044, allocations: 84.59 kB / 359.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3044, allocations: 7.969 kB / 359.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000667/0.3051, allocations: 404.9 kB / 360.1 MB, free: 128 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.3051, allocations: 11.98 kB / 360.1 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.3052, allocations: 12.28 kB / 360.1 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.3057, allocations: 151.9 kB / 360.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3059, allocations: 39.91 kB / 360.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/0.3067, allocations: 0.7007 MB / 361 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3069, allocations: 31.67 kB / 361 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.307, allocations: 12 kB / 361 MB, free: 15.14 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 (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.0002738/0.3073, allocations: 201.9 kB / 361.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3074, allocations: 106.8 kB / 361.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.3082, allocations: 415.4 kB / 361.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3082, allocations: 3.984 kB / 361.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3082, allocations: 0 / 361.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3083, allocations: 0 / 361.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.3089, allocations: 0.5113 MB / 362.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.3089, allocations: 12 kB / 362.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.309, allocations: 23.97 kB / 362.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.3093, allocations: 128.8 kB / 362.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3093, allocations: 4 kB / 362.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005907/0.3099, allocations: 0.7045 MB / 363.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3099, allocations: 0 / 363.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.3105, allocations: 460.4 kB / 363.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.3107, allocations: 171.8 kB / 363.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.3108, allocations: 4 kB / 363.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.311, allocations: 11.98 kB / 363.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.3111, allocations: 15.98 kB / 363.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.3111, allocations: 8 kB / 363.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.3118, allocations: 0.5344 MB / 364.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3118, allocations: 0 / 364.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.3125, allocations: 195.8 kB / 364.5 MB, free: 11.52 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 (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.0005603/0.3131, allocations: 287.4 kB / 364.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.3137, allocations: 287.7 kB / 365.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3137, allocations: 4.562 kB / 365.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.314, allocations: 183.3 kB / 365.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3146, allocations: 132.2 kB / 365.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3168, allocations: 1.395 MB / 366.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.3174, allocations: 0.9413 MB / 367.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.3178, allocations: 106.7 kB / 367.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.3179, allocations: 51.44 kB / 367.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3179, allocations: 3.938 kB / 367.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of Templates: time 0.01612/0.334, allocations: 8.455 MB / 376.3 MB, free: 15.59 MB / 318.1 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)