Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009735/0.0009735, allocations: 88.77 kB / 16.31 MB, free: 6.457 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.001192/0.001192, allocations: 183.1 kB / 17.21 MB, free: 6.328 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.528/1.528, allocations: 205.4 MB / 223.4 MB, free: 5.805 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.0004668/0.0004668, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3392, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004782/0.344, allocations: 4.458 MB / 332.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3543, allocations: 7.891 MB / 340.1 MB, free: 7.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.3551, allocations: 19.88 kB / 340.1 MB, free: 7.164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009446/0.3561, allocations: 294.4 kB / 340.4 MB, free: 6.875 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.3585, allocations: 0.6482 MB / 341 MB, free: 6.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3599, allocations: 426 kB / 341.4 MB, free: 5.805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.3624, allocations: 1.556 MB / 343 MB, free: 4.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.3627, allocations: 139.1 kB / 343.1 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.363, allocations: 250.8 kB / 343.4 MB, free: 3.848 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.3634, allocations: 278.3 kB / 343.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.3634, allocations: 16 kB / 343.7 MB, free: 3.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3646, allocations: 0.5113 MB / 344.2 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.3647, allocations: 79.45 kB / 344.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3649, allocations: 201.1 kB / 344.5 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.3658, allocations: 0.8569 MB / 345.3 MB, free: 1.906 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3658, allocations: 0 / 345.3 MB, free: 1.906 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3658, allocations: 0 / 345.3 MB, free: 1.906 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3658, allocations: 3.938 kB / 345.3 MB, free: 1.902 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.001715/0.3676, allocations: 1.155 MB / 346.5 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3676, allocations: 8.031 kB / 346.5 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.3678, allocations: 114.7 kB / 346.6 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.369, allocations: 0.8167 MB / 347.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.369, allocations: 24.56 kB / 347.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.3691, allocations: 24 kB / 347.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.3696, allocations: 303.7 kB / 347.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3696, allocations: 0 / 347.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3697, allocations: 8 kB / 347.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3697, allocations: 15.97 kB / 347.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.3701, allocations: 246.1 kB / 348 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3718, allocations: 1.167 MB / 349.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3722, allocations: 214.5 kB / 349.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.3725, allocations: 226 kB / 349.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008376/0.3809, allocations: 8.582 MB / 358.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.381, allocations: 38.56 kB / 358.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.381, allocations: 0 / 358.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.00155/0.3825, allocations: 0.666 MB / 358.9 MB, free: 2.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3826, allocations: 81.11 kB / 359 MB, free: 2.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.3836, allocations: 0.7909 MB / 359.8 MB, free: 1.777 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3836, allocations: 29.7 kB / 359.8 MB, free: 1.742 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.384, allocations: 436.7 kB / 360.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.3841, allocations: 86.8 kB / 360.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.3841, allocations: 4 kB / 360.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3842, allocations: 321.9 kB / 360.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3844, allocations: 68.47 kB / 360.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3846, allocations: 157.8 kB / 360.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3848, allocations: 84.62 kB / 360.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3848, allocations: 0 / 360.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006065/0.3854, allocations: 408.8 kB / 361.3 MB, free: 160 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3854, allocations: 4 kB / 361.3 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.3855, allocations: 20.28 kB / 361.4 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.3859, allocations: 148.7 kB / 361.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.386, allocations: 35.86 kB / 361.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007075/0.3868, allocations: 0.6997 MB / 362.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.387, allocations: 31.72 kB / 362.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.3871, allocations: 16 kB / 362.3 MB, free: 15.18 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.0002781/0.3873, allocations: 202 kB / 362.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3875, allocations: 102.8 kB / 362.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008474/0.3883, allocations: 415.4 kB / 363 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3883, allocations: 7.938 kB / 363 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3884, allocations: 0 / 363 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3884, allocations: 7.922 kB / 363 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.389, allocations: 0.5074 MB / 363.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.389, allocations: 16 kB / 363.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3891, allocations: 15.98 kB / 363.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.3894, allocations: 128.8 kB / 363.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3894, allocations: 8 kB / 363.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/0.3901, allocations: 0.7046 MB / 364.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3901, allocations: 3.938 kB / 364.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.3907, allocations: 452.9 kB / 364.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3909, allocations: 175.8 kB / 365 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.391, allocations: 4 kB / 365 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3912, allocations: 8 kB / 365 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.3913, allocations: 19.97 kB / 365 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3913, allocations: 8 kB / 365 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005942/0.3919, allocations: 0.5305 MB / 365.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3919, allocations: 4 kB / 365.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.3925, allocations: 199.8 kB / 365.8 MB, free: 11.54 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.0004647/0.3929, allocations: 275.5 kB / 366 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.3935, allocations: 283.8 kB / 366.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.3935, allocations: 0 / 366.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.3938, allocations: 191.2 kB / 366.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.3944, allocations: 136.5 kB / 366.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3965, allocations: 1.387 MB / 368 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.3971, allocations: 0.9452 MB / 369 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.3975, allocations: 106.7 kB / 369.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.3975, allocations: 55.42 kB / 369.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3976, allocations: 0 / 369.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Templates: time 0.01628/0.4138, allocations: 8.458 MB / 377.6 MB, free: 15.62 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)