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.001118/0.001118, allocations: 100.1 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.001225/0.001225, 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.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0006705/0.0006705, allocations: 19.12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3139, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004055/0.318, allocations: 4.136 MB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009497/0.3276, allocations: 7.443 MB / 338 MB, free: 7.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.3284, allocations: 15.88 kB / 338 MB, free: 7.895 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3295, allocations: 306.5 kB / 338.3 MB, free: 7.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.3325, allocations: 0.7401 MB / 339.1 MB, free: 6.852 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3341, allocations: 458.8 kB / 339.5 MB, free: 6.402 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.3372, allocations: 1.591 MB / 341.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.3376, allocations: 139.1 kB / 341.3 MB, free: 4.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.3382, allocations: 246.8 kB / 341.5 MB, free: 4.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.3386, allocations: 278.3 kB / 341.8 MB, free: 4.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.3386, allocations: 20 kB / 341.8 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.34, allocations: 0.5465 MB / 342.3 MB, free: 3.578 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.3401, allocations: 87.38 kB / 342.4 MB, free: 3.492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3402, allocations: 201.2 kB / 342.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.3411, allocations: 0.8374 MB / 343.5 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3411, allocations: 0 / 343.5 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3411, allocations: 0 / 343.5 MB, free: 2.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3411, allocations: 0 / 343.5 MB, free: 2.449 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.001769/0.3429, allocations: 1.147 MB / 344.6 MB, free: 1.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.343, allocations: 8.031 kB / 344.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3431, allocations: 110.7 kB / 344.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3443, allocations: 0.8207 MB / 345.5 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3444, allocations: 16.56 kB / 345.6 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.3444, allocations: 27.94 kB / 345.6 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.3449, allocations: 311.6 kB / 345.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.345, allocations: 3.984 kB / 345.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.345, allocations: 15.94 kB / 345.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.345, allocations: 8 kB / 345.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.3454, allocations: 234.1 kB / 346.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.3472, allocations: 1.194 MB / 347.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3475, allocations: 210.4 kB / 347.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008454/0.356, allocations: 8.613 MB / 356.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3561, allocations: 46.44 kB / 356.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.875e-06/0.3561, allocations: 0 / 356.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001521/0.3576, allocations: 0.6427 MB / 356.8 MB, free: 3.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3577, allocations: 81.11 kB / 356.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.3586, allocations: 0.7948 MB / 357.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3586, allocations: 29.7 kB / 357.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.3589, allocations: 432.7 kB / 358.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.359, allocations: 82.77 kB / 358.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.359, allocations: 11.88 kB / 358.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3591, allocations: 321.9 kB / 358.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3593, allocations: 64.2 kB / 358.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3595, allocations: 146.6 kB / 358.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3596, allocations: 100.4 kB / 358.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.3596, allocations: 0 / 358.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005682/0.3602, allocations: 401 kB / 359.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3602, allocations: 8 kB / 359.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.3603, allocations: 12 kB / 359.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.3607, allocations: 140.7 kB / 359.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3608, allocations: 44.19 kB / 359.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/0.3616, allocations: 0.7035 MB / 360.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3619, allocations: 23.75 kB / 360.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3619, allocations: 19.94 kB / 360.2 MB, free: 15.93 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.0002928/0.3622, allocations: 201.8 kB / 360.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3623, allocations: 106.7 kB / 360.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.3632, allocations: 419.4 kB / 360.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3632, allocations: 4 kB / 360.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3632, allocations: 0 / 360.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3632, allocations: 0 / 360.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.3638, allocations: 0.5112 MB / 361.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.3638, allocations: 12 kB / 361.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.364, allocations: 23.98 kB / 361.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.3642, allocations: 136.8 kB / 361.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3643, allocations: 11.94 kB / 361.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/0.3648, allocations: 0.7011 MB / 362.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3648, allocations: 0 / 362.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.3654, allocations: 448.3 kB / 362.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.3656, allocations: 175.9 kB / 362.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.3657, allocations: 8.016 kB / 362.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3659, allocations: 8 kB / 362.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3659, allocations: 15.97 kB / 363 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.366, allocations: 8 kB / 363 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.3666, allocations: 0.5344 MB / 363.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3666, allocations: 0 / 363.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005398/0.3672, allocations: 191.8 kB / 363.7 MB, free: 12.3 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.0004271/0.3676, allocations: 279.6 kB / 364 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.3682, allocations: 287.2 kB / 364.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3682, allocations: 0 / 364.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.3685, allocations: 184.4 kB / 364.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.369, allocations: 136.3 kB / 364.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3709, allocations: 1.395 MB / 366 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.3715, allocations: 0.9607 MB / 366.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003613/0.3718, allocations: 106.7 kB / 367 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.3719, allocations: 51.44 kB / 367.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3719, allocations: 0 / 367.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Templates: time 0.01667/0.3886, allocations: 8.112 MB / 375.2 MB, free: 0.707 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: