Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001038/0.001038, allocations: 87.22 kB / 16.31 MB, free: 6.449 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.001308/0.001308, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.87/1.87, allocations: 205.4 MB / 223.4 MB, free: 5.273 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.0005078/0.0005079, allocations: 12 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003656/0.3317, allocations: 2.305 MB / 330.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3331, allocations: 0.6892 MB / 330.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3333, allocations: 4.344 kB / 330.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.3335, allocations: 27.3 kB / 330.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3337, allocations: 75.67 kB / 330.8 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3341, allocations: 70.75 kB / 330.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.3345, allocations: 321.8 kB / 331.2 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.3348, allocations: 64.94 kB / 331.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.335, allocations: 112.9 kB / 331.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.3353, allocations: 135.2 kB / 331.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.3353, allocations: 15.28 kB / 331.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.3354, allocations: 15.12 kB / 331.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3355, allocations: 47.02 kB / 331.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3356, allocations: 73.67 kB / 331.7 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3359, allocations: 240.3 kB / 331.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.336, allocations: 1.094 kB / 331.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.336, allocations: 0 / 331.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.336, allocations: 0 / 331.9 MB, free: 14.25 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.00147/0.3375, allocations: 0.609 MB / 332.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.3375, allocations: 10.16 kB / 332.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3377, allocations: 30.94 kB / 332.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3381, allocations: 275.4 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.3381, allocations: 16.34 kB / 332.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3382, allocations: 17.62 kB / 332.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.3389, allocations: 265.9 kB / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3389, allocations: 0 / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.339, allocations: 5.938 kB / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.339, allocations: 5.438 kB / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.3398, allocations: 271.3 kB / 333.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3417, allocations: 0.8966 MB / 334.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.3427, allocations: 275.1 kB / 334.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.343, allocations: 127.4 kB / 334.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3431, allocations: 1.469 kB / 334.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.3436, allocations: 206.6 kB / 334.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.3437, allocations: 3.984 kB / 334.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002438/0.3461, allocations: 0.7428 MB / 335.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.3462, allocations: 114.8 kB / 335.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3465, allocations: 266.5 kB / 336 MB, free: 10.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.3466, allocations: 29.7 kB / 336 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3468, allocations: 167.9 kB / 336.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.3468, allocations: 43.45 kB / 336.3 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.3468, allocations: 4 kB / 336.3 MB, free: 10.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.347, allocations: 334.8 kB / 336.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.3473, allocations: 112.1 kB / 336.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.3477, allocations: 172 kB / 336.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3481, allocations: 144.6 kB / 337 MB, free: 9.875 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3481, allocations: 4 kB / 337 MB, free: 9.871 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001167/0.3493, allocations: 479.5 kB / 337.5 MB, free: 9.387 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.3495, allocations: 159.9 kB / 337.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3495, allocations: 4 kB / 337.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.3499, allocations: 84.8 kB / 337.7 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3501, allocations: 39.97 kB / 337.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.3528, allocations: 1.807 MB / 339.6 MB, free: 7.121 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.3532, allocations: 55.77 kB / 339.6 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3532, allocations: 11.98 kB / 339.6 MB, free: 7.055 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.3532, allocations: 8.062 kB / 339.6 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007135/0.3539, allocations: 298.3 kB / 339.9 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.3539, allocations: 0 / 339.9 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.241e-05/0.354, allocations: 28.84 kB / 340 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3542, allocations: 48 kB / 340 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3555, allocations: 1.444 MB / 341.4 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3557, allocations: 43.84 kB / 341.5 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3557, allocations: 15.88 kB / 341.5 MB, free: 5.031 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 ($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 (18): * Single equations (assignments): 16 * 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.000219/0.356, allocations: 209.2 kB / 341.7 MB, free: 4.816 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.356, allocations: 27.7 kB / 341.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.3561, allocations: 25.84 kB / 341.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3561, allocations: 3.953 kB / 341.8 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3561, allocations: 0 / 341.8 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3561, allocations: 3.984 kB / 341.8 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.3564, allocations: 289.4 kB / 342.1 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3565, allocations: 0 / 342.1 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3566, allocations: 35.97 kB / 342.1 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.3569, allocations: 84.67 kB / 342.2 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3569, allocations: 0 / 342.2 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.3591, allocations: 1.667 MB / 343.8 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3591, allocations: 0 / 343.8 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/0.3601, allocations: 401.5 kB / 344.2 MB, free: 2.094 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.3602, allocations: 100.8 kB / 344.3 MB, free: 1.977 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3603, allocations: 4 kB / 344.3 MB, free: 1.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3605, allocations: 39.97 kB / 344.4 MB, free: 1.934 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.3606, allocations: 23.95 kB / 344.4 MB, free: 1.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3606, allocations: 8 kB / 344.4 MB, free: 1.902 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3608, allocations: 186 kB / 344.6 MB, free: 1.719 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3608, allocations: 0 / 344.6 MB, free: 1.719 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000537/0.3613, allocations: 123.8 kB / 344.7 MB, free: 1.598 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.0001791/0.3615, allocations: 111.2 kB / 344.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3632, allocations: 0.719 MB / 345.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.3633, allocations: 4.188 kB / 345.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.3637, allocations: 250.5 kB / 345.8 MB, free: 460 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3641, allocations: 41.38 kB / 345.8 MB, free: 420 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3651, allocations: 0.5293 MB / 346.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3655, allocations: 0.7483 MB / 347.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3656, allocations: 26.28 kB / 347.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.3656, allocations: 23.38 kB / 347.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3656, allocations: 0 / 347.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of Templates: time 0.007991/0.3736, allocations: 3.695 MB / 350.8 MB, free: 11.35 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)