Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009705, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009453/0.0009454, 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.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.0004471/0.0004472, allocations: 16 kB / 278.9 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.0028/0.2914, allocations: 2.309 MB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.293, allocations: 0.6818 MB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.2932, allocations: 2.938 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2934, allocations: 36.06 kB / 329.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2936, allocations: 80.14 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2939, allocations: 66.09 kB / 329.7 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.2944, allocations: 318.4 kB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2946, allocations: 69.75 kB / 330 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.2948, allocations: 112.6 kB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.295, allocations: 131.9 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.2951, allocations: 19.05 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.2951, allocations: 15.47 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.2952, allocations: 53.95 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.2953, allocations: 73.23 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2957, allocations: 242.2 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.2957, allocations: 0 / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2958, allocations: 0 / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2958, allocations: 0 / 330.7 MB, free: 14.18 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001343/0.2971, allocations: 0.6022 MB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.2972, allocations: 13.22 kB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.2973, allocations: 31.12 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.2977, allocations: 275.4 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.2977, allocations: 12.81 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2978, allocations: 21.84 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.2984, allocations: 262 kB / 331.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2985, allocations: 0 / 331.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.2985, allocations: 10.16 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2985, allocations: 5.25 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.2993, allocations: 274.7 kB / 332.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.3011, allocations: 0.8926 MB / 333.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.3019, allocations: 278.8 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3023, allocations: 118.9 kB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3023, allocations: 5.156 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.3028, allocations: 191.9 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.486e-06/0.3028, allocations: 3.984 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002442/0.3053, allocations: 0.7443 MB / 334.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.3054, allocations: 110.8 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3057, allocations: 274.5 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3058, allocations: 25.7 kB / 334.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3059, allocations: 183.8 kB / 335 MB, free: 10.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.306, allocations: 47.38 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.306, allocations: 4 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3061, allocations: 330.8 kB / 335.3 MB, free: 10.34 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.3064, allocations: 115.9 kB / 335.5 MB, free: 10.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.3068, allocations: 185.4 kB / 335.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3073, allocations: 153.5 kB / 335.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3073, allocations: 0 / 335.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001347/0.3086, allocations: 490.4 kB / 336.3 MB, free: 9.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.3088, allocations: 177.5 kB / 336.4 MB, free: 9.148 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3088, allocations: 4 kB / 336.4 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.3092, allocations: 88.73 kB / 336.5 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3095, allocations: 47.97 kB / 336.6 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.3122, allocations: 1.858 MB / 338.4 MB, free: 7.008 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3125, allocations: 71.69 kB / 338.5 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.3126, allocations: 8 kB / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.3126, allocations: 4 kB / 338.5 MB, free: 6.926 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007448/0.3133, allocations: 314.4 kB / 338.8 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3134, allocations: 224 / 338.8 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.647e-05/0.3134, allocations: 24.84 kB / 338.8 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3136, allocations: 55.84 kB / 338.9 MB, free: 6.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008321/0.3145, allocations: 1.308 MB / 340.2 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3147, allocations: 47.88 kB / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3147, allocations: 8 kB / 340.3 MB, free: 5.031 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3149, allocations: 221 kB / 340.5 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3151, allocations: 19.72 kB / 340.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.3151, allocations: 29.83 kB / 340.5 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3151, allocations: 0 / 340.5 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3151, allocations: 4.062 kB / 340.5 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3151, allocations: 0 / 340.5 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3154, allocations: 297.4 kB / 340.8 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3154, allocations: 7.984 kB / 340.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3156, allocations: 23.98 kB / 340.9 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.3158, allocations: 84.8 kB / 340.9 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3158, allocations: 0 / 340.9 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.318, allocations: 1.752 MB / 342.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.318, allocations: 11.97 kB / 342.7 MB, free: 2.402 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.319, allocations: 389.5 kB / 343.1 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.3191, allocations: 112.7 kB / 343.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3191, allocations: 0 / 343.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3194, allocations: 44.08 kB / 343.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.3195, allocations: 32 kB / 343.3 MB, free: 1.797 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3195, allocations: 4 kB / 343.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.3197, allocations: 190 kB / 343.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.3197, allocations: 0 / 343.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.3203, allocations: 127.7 kB / 343.6 MB, free: 1.48 MB / 270.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.3204, allocations: 107.2 kB / 343.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3221, allocations: 0.8055 MB / 344.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3221, allocations: 3.938 kB / 344.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.3226, allocations: 250.9 kB / 344.7 MB, free: 256 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.323, allocations: 44.53 kB / 344.8 MB, free: 212 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3258, allocations: 1.037 MB / 345.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3262, allocations: 0.7521 MB / 346.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3263, allocations: 30.28 kB / 346.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.3264, allocations: 19.44 kB / 346.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3264, allocations: 0 / 346.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of Templates: time 0.007703/0.3341, allocations: 3.661 MB / 350.3 MB, free: 10.66 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)