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.0009474/0.0009475, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001197/0.001197, allocations: 177.3 kB / 15.95 MB, free: 216 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.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.000615/0.0006154, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2619, allocations: 47.58 MB / 326.4 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003927/0.2659, allocations: 4.134 MB / 330.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.2743, allocations: 7.449 MB / 338 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.2749, allocations: 19.88 kB / 338 MB, free: 8.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.2758, allocations: 306.6 kB / 338.3 MB, free: 7.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.2778, allocations: 0.7361 MB / 339.1 MB, free: 7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2792, allocations: 454.8 kB / 339.5 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.2819, allocations: 1.603 MB / 341.1 MB, free: 4.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.2822, allocations: 135.1 kB / 341.3 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.2826, allocations: 246.9 kB / 341.5 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.2829, allocations: 286.2 kB / 341.8 MB, free: 4.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.283, allocations: 16 kB / 341.8 MB, free: 4.266 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.2843, allocations: 0.5465 MB / 342.3 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.2844, allocations: 83.39 kB / 342.4 MB, free: 3.637 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2846, allocations: 201.1 kB / 342.6 MB, free: 3.434 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.2854, allocations: 0.8492 MB / 343.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2854, allocations: 0 / 343.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2855, allocations: 0 / 343.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2855, allocations: 0 / 343.5 MB, free: 2.582 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.001824/0.2873, allocations: 1.147 MB / 344.6 MB, free: 1.383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2874, allocations: 12.03 kB / 344.6 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2875, allocations: 110.7 kB / 344.7 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.2887, allocations: 0.809 MB / 345.5 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2888, allocations: 24.56 kB / 345.6 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.2888, allocations: 24 kB / 345.6 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.2893, allocations: 303.7 kB / 345.9 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2894, allocations: 4 kB / 345.9 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2894, allocations: 12 kB / 345.9 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2894, allocations: 11.94 kB / 345.9 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.2899, allocations: 242.1 kB / 346.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2916, allocations: 1.202 MB / 347.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.292, allocations: 198.6 kB / 347.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008261/0.3003, allocations: 8.609 MB / 356.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3003, allocations: 46.52 kB / 356.2 MB, free: 4.238 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.3004, allocations: 0 / 356.2 MB, free: 4.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001514/0.3019, allocations: 0.6426 MB / 356.8 MB, free: 3.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3019, allocations: 81.11 kB / 356.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.3028, allocations: 0.7909 MB / 357.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3029, allocations: 29.7 kB / 357.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.3032, allocations: 440.7 kB / 358.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.3033, allocations: 82.73 kB / 358.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.3033, allocations: 8 kB / 358.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3034, allocations: 321.9 kB / 358.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3035, allocations: 72.2 kB / 358.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3037, allocations: 146.5 kB / 358.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3039, allocations: 88.5 kB / 358.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3039, allocations: 0 / 358.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005538/0.3045, allocations: 409 kB / 359.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3045, allocations: 4 kB / 359.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.3045, allocations: 19.98 kB / 359.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.3049, allocations: 132.7 kB / 359.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3051, allocations: 40.19 kB / 359.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005824/0.3057, allocations: 0.7073 MB / 360.2 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.306, allocations: 23.75 kB / 360.2 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.306, allocations: 16 kB / 360.2 MB, free: 76 kB / 286.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.0002672/0.3063, allocations: 205.7 kB / 360.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3064, allocations: 106.7 kB / 360.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.3072, allocations: 423.5 kB / 360.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.3072, allocations: 4 kB / 360.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3072, allocations: 0 / 360.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3072, allocations: 3.984 kB / 360.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.3078, allocations: 0.5073 MB / 361.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.3079, allocations: 15.94 kB / 361.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.308, allocations: 23.97 kB / 361.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.3083, allocations: 132.8 kB / 361.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3083, allocations: 4 kB / 361.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.3089, allocations: 0.7051 MB / 362.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.3089, allocations: 3.984 kB / 362.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.3095, allocations: 452.2 kB / 362.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.3098, allocations: 171.9 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.3099, allocations: 12.02 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3101, allocations: 4 kB / 363 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3101, allocations: 15.98 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3102, allocations: 8 kB / 363 MB, free: 13.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005996/0.3108, allocations: 0.5266 MB / 363.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 363.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.3114, allocations: 195.8 kB / 363.7 MB, free: 12.44 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.0004387/0.3118, allocations: 279.7 kB / 364 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005887/0.3124, allocations: 283.2 kB / 364.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3125, allocations: 4 kB / 364.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3127, allocations: 188.4 kB / 364.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3132, allocations: 132.3 kB / 364.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3151, allocations: 1.387 MB / 366 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.3156, allocations: 0.9607 MB / 366.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.316, allocations: 110.7 kB / 367 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.316, allocations: 47.44 kB / 367.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.316, allocations: 0 / 367.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of Templates: time 0.01601/0.3321, allocations: 8.131 MB / 375.2 MB, free: 0.8398 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: