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.001241/0.001241, allocations: 103.5 kB / 16.62 MB, free: 6.801 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.001314/0.001314, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.843/1.843, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001216/0.001215, allocations: 47.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1416, allocations: 46.63 MB / 326.2 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004972/0.1467, allocations: 2.768 MB / 328.9 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1483, allocations: 0.7099 MB / 329.6 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1486, allocations: 4 kB / 329.6 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1489, allocations: 31.7 kB / 329.7 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1491, allocations: 67.47 kB / 329.7 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1495, allocations: 95.84 kB / 329.8 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.1501, allocations: 354.6 kB / 330.2 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.1503, allocations: 76.7 kB / 330.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1505, allocations: 131.5 kB / 330.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1507, allocations: 159.3 kB / 330.5 MB, free: 380 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1508, allocations: 28 kB / 330.6 MB, free: 352 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.1508, allocations: 32 kB / 330.6 MB, free: 320 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.1509, allocations: 63.7 kB / 330.7 MB, free: 256 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1511, allocations: 147.3 kB / 330.8 MB, free: 108 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.1515, allocations: 319.1 kB / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1516, allocations: 0 / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1516, allocations: 3.938 kB / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1516, allocations: 4 kB / 331.1 MB, free: 15.79 MB / 286.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.001446/0.153, allocations: 0.6379 MB / 331.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1531, allocations: 12.03 kB / 331.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1532, allocations: 32.56 kB / 331.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.1536, allocations: 279.7 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1536, allocations: 12.81 kB / 332.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1536, allocations: 20.38 kB / 332.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.1543, allocations: 255.5 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1543, allocations: 0 / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1543, allocations: 12 kB / 332.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1543, allocations: 4 kB / 332.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.1551, allocations: 245.6 kB / 332.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1566, allocations: 0.8777 MB / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.1575, allocations: 238.5 kB / 333.7 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.1578, allocations: 108.8 kB / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1578, allocations: 4 kB / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.1584, allocations: 177.8 kB / 334 MB, free: 12.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.1584, allocations: 0 / 334 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002426/0.1609, allocations: 0.6785 MB / 334.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.161, allocations: 102.8 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.1613, allocations: 266.6 kB / 335 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.1614, allocations: 33.7 kB / 335.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1615, allocations: 167.9 kB / 335.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.1616, allocations: 43.45 kB / 335.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1617, allocations: 49.64 kB / 335.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1619, allocations: 338.8 kB / 335.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.1622, allocations: 96.78 kB / 335.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.1626, allocations: 163.6 kB / 335.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.1633, allocations: 266.6 kB / 336.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1633, allocations: 0 / 336.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001331/0.1646, allocations: 435.6 kB / 336.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.1647, allocations: 37.7 kB / 336.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1647, allocations: 0 / 336.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1651, allocations: 80.77 kB / 336.7 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1653, allocations: 39.97 kB / 336.8 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.1685, allocations: 1.962 MB / 338.7 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.1689, allocations: 55.73 kB / 338.8 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1689, allocations: 8.219 kB / 338.8 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003483/0.1693, allocations: 176.1 kB / 338.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002827/0.1696, allocations: 151.5 kB / 339.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005942/0.1702, allocations: 230.6 kB / 339.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/0.1702, allocations: 3.938 kB / 339.3 MB, free: 6.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000739/0.1709, allocations: 319.6 kB / 339.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.171, allocations: 29.7 kB / 339.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.171, allocations: 4 kB / 339.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.977e-05/0.1711, allocations: 37.02 kB / 339.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.1713, allocations: 39.91 kB / 339.7 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1725, allocations: 1.604 MB / 341.3 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.1728, allocations: 43.8 kB / 341.4 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1729, allocations: 8 kB / 341.4 MB, free: 4.758 MB / 286.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.0001847/0.1731, allocations: 200.2 kB / 341.6 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1731, allocations: 19.72 kB / 341.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1732, allocations: 29.83 kB / 341.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1732, allocations: 0 / 341.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1732, allocations: 0 / 341.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1732, allocations: 4 kB / 341.6 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.1735, allocations: 293.4 kB / 341.9 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1735, allocations: 0 / 341.9 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1737, allocations: 27.98 kB / 342 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.174, allocations: 68.8 kB / 342 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.174, allocations: 8 kB / 342 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.1766, allocations: 1.765 MB / 343.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1766, allocations: 3.984 kB / 343.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1777, allocations: 357.5 kB / 344.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1778, allocations: 100.8 kB / 344.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1778, allocations: 4 kB / 344.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1781, allocations: 31.95 kB / 344.3 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.1782, allocations: 15.98 kB / 344.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1782, allocations: 7.938 kB / 344.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.1784, allocations: 201.9 kB / 344.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1784, allocations: 0 / 344.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005665/0.179, allocations: 123.7 kB / 344.6 MB, free: 1.285 MB / 286.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.0002151/0.1792, allocations: 103.2 kB / 344.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.1809, allocations: 0.6876 MB / 345.4 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.181, allocations: 4.25 kB / 345.4 MB, free: 444 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.1814, allocations: 230.6 kB / 345.6 MB, free: 200 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1819, allocations: 52.66 kB / 345.7 MB, free: 148 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1832, allocations: 0.5309 MB / 346.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.1837, allocations: 0.7483 MB / 347 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.1839, allocations: 26.28 kB / 347 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.1839, allocations: 15.44 kB / 347 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.184, allocations: 0 / 347 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009711/0.1937, allocations: 4.085 MB / 351.1 MB, free: 10.69 MB / 302.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)