Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008626, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008017/0.008017, allocations: 171.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.0007159/0.000716, allocations: 12 kB / 279.5 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4209, allocations: 47.58 MB / 327 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003676/0.4247, allocations: 2.401 MB / 329.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4266, allocations: 0.7071 MB / 330.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.4268, allocations: 4.406 kB / 330.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.427, allocations: 30.61 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.4272, allocations: 79.94 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.4275, allocations: 86.8 kB / 330.3 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.428, allocations: 332.9 kB / 330.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.4283, allocations: 70.3 kB / 330.7 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.4286, allocations: 116.4 kB / 330.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.4289, allocations: 135.5 kB / 331 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/0.4289, allocations: 15.81 kB / 331 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.429, allocations: 14.5 kB / 331 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.4291, allocations: 54.7 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.4293, allocations: 158.6 kB / 331.2 MB, free: 14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.4298, allocations: 306.9 kB / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4298, allocations: 3.938 kB / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.4298, allocations: 0 / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.4298, allocations: 0 / 331.5 MB, free: 13.77 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.00161/0.4314, allocations: 0.6105 MB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.4315, allocations: 9.75 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.4316, allocations: 31.69 kB / 332.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.4321, allocations: 272.9 kB / 332.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.4322, allocations: 13.5 kB / 332.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.4323, allocations: 21.69 kB / 332.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.4331, allocations: 268.1 kB / 332.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4331, allocations: 0 / 332.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.4331, allocations: 10.22 kB / 332.8 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4331, allocations: 4.094 kB / 332.8 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.4341, allocations: 273.3 kB / 333 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.4362, allocations: 0.8965 MB / 333.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.4372, allocations: 279.8 kB / 334.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.4376, allocations: 115.2 kB / 334.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4377, allocations: 6.219 kB / 334.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006439/0.4383, allocations: 195.8 kB / 334.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.4383, allocations: 0 / 334.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002649/0.441, allocations: 0.7573 MB / 335.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4411, allocations: 110.8 kB / 335.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.4415, allocations: 258.6 kB / 335.6 MB, free: 10.42 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.4415, allocations: 33.7 kB / 335.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4417, allocations: 179.8 kB / 335.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.4417, allocations: 39.45 kB / 335.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.4418, allocations: 25.7 kB / 335.9 MB, free: 10.13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002678/0.4421, allocations: 338.8 kB / 336.2 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.4425, allocations: 111.9 kB / 336.3 MB, free: 9.684 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.4429, allocations: 171.6 kB / 336.5 MB, free: 9.488 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.4437, allocations: 294.5 kB / 336.8 MB, free: 9.176 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4437, allocations: 4 kB / 336.8 MB, free: 9.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001359/0.4451, allocations: 471.6 kB / 337.3 MB, free: 8.695 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.4453, allocations: 163.8 kB / 337.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4453, allocations: 8 kB / 337.4 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.4457, allocations: 76.8 kB / 337.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.446, allocations: 51.91 kB / 337.5 MB, free: 8.367 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.4489, allocations: 1.811 MB / 339.4 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.4492, allocations: 55.89 kB / 339.4 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.4493, allocations: 12 kB / 339.4 MB, free: 6.348 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.4493, allocations: 4 kB / 339.4 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007453/0.4501, allocations: 314 kB / 339.7 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4501, allocations: 0 / 339.7 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-05/0.4502, allocations: 29.25 kB / 339.8 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.4504, allocations: 47.95 kB / 339.8 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4516, allocations: 1.428 MB / 341.2 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.4519, allocations: 51.91 kB / 341.3 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4519, allocations: 7.938 kB / 341.3 MB, free: 4.328 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.4521, allocations: 217.3 kB / 341.5 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.4521, allocations: 23.72 kB / 341.5 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.4522, allocations: 21.84 kB / 341.6 MB, free: 4.066 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4522, allocations: 3.984 kB / 341.6 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4522, allocations: 0 / 341.6 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4522, allocations: 3.938 kB / 341.6 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.4525, allocations: 301.4 kB / 341.9 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4525, allocations: 4 kB / 341.9 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4527, allocations: 31.91 kB / 341.9 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.453, allocations: 84.8 kB / 342 MB, free: 3.594 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.453, allocations: 0 / 342 MB, free: 3.594 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.4552, allocations: 1.667 MB / 343.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4552, allocations: 0 / 343.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4563, allocations: 385.4 kB / 344 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.4564, allocations: 112.8 kB / 344.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.4564, allocations: 4.188 kB / 344.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4567, allocations: 43.95 kB / 344.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4568, allocations: 19.98 kB / 344.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4568, allocations: 11.98 kB / 344.2 MB, free: 1.188 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.4571, allocations: 190 kB / 344.4 MB, free: 1 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4571, allocations: 0 / 344.4 MB, free: 1 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000598/0.4577, allocations: 119.8 kB / 344.5 MB, free: 0.8828 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.4579, allocations: 99.19 kB / 344.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.4596, allocations: 0.7272 MB / 345.3 MB, free: 0 / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.506e-05/0.4596, allocations: 0 / 345.3 MB, free: 0 / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.4601, allocations: 250.9 kB / 345.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.4605, allocations: 52.72 kB / 345.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4616, allocations: 0.5528 MB / 346.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.462, allocations: 0.7444 MB / 346.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.4622, allocations: 26.23 kB / 346.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.4622, allocations: 27.44 kB / 347 MB, free: 14.29 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4622, allocations: 0 / 347 MB, free: 14.29 MB / 286.1 MB Notification: Performance of Templates: time 0.008892/0.4711, allocations: 3.813 MB / 350.8 MB, free: 10.48 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)