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.001088/0.001088, allocations: 92.27 kB / 16.3 MB, free: 5.996 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.001252/0.001252, allocations: 184 kB / 17.2 MB, free: 5.914 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.763/1.763, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004865/0.0004868, allocations: 15.94 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 47.59 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00456/0.1443, allocations: 2.21 MB / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1461, allocations: 0.6988 MB / 330.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.1465, allocations: 7.938 kB / 330.6 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1466, allocations: 31.75 kB / 330.7 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.1471, allocations: 95.72 kB / 330.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1475, allocations: 71.84 kB / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.1479, allocations: 231.5 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1482, allocations: 65.09 kB / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1484, allocations: 111.5 kB / 331.2 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1486, allocations: 127.5 kB / 331.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.1486, allocations: 16 kB / 331.4 MB, free: 428 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.1487, allocations: 16 kB / 331.4 MB, free: 412 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1487, allocations: 51.81 kB / 331.4 MB, free: 360 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.1489, allocations: 73.52 kB / 331.5 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1492, allocations: 231.6 kB / 331.7 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1492, allocations: 4 kB / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1492, allocations: 0 / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1492, allocations: 0 / 331.7 MB, free: 44 kB / 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.001349/0.1505, allocations: 0.6106 MB / 332.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1506, allocations: 12.03 kB / 332.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.1507, allocations: 31.56 kB / 332.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.1511, allocations: 278.4 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1511, allocations: 24.42 kB / 332.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.1512, allocations: 16 kB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.1518, allocations: 263.1 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1518, allocations: 0 / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1519, allocations: 8 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1519, allocations: 4 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.1526, allocations: 269.6 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.1542, allocations: 0.9012 MB / 334.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.1551, allocations: 270.5 kB / 334.4 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.1552, allocations: 7.938 kB / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.1557, allocations: 193.9 kB / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.1557, allocations: 0 / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002529/0.1583, allocations: 0.7566 MB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.1584, allocations: 102.8 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.1587, allocations: 262.6 kB / 335.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1588, allocations: 29.7 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1589, allocations: 171.9 kB / 335.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.159, allocations: 35.45 kB / 335.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.159, allocations: 4 kB / 335.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1592, allocations: 342.8 kB / 336.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1596, allocations: 116 kB / 336.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.1599, allocations: 172 kB / 336.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.1603, allocations: 145.6 kB / 336.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1603, allocations: 4.219 kB / 336.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001237/0.1616, allocations: 474.4 kB / 337.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005546/0.1622, allocations: 0.6568 MB / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1622, allocations: 0 / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.1626, allocations: 76.8 kB / 337.9 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1628, allocations: 47.97 kB / 337.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.1658, allocations: 1.83 MB / 339.8 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.1663, allocations: 75.59 kB / 339.8 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1663, allocations: 8 kB / 339.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1664, allocations: 4 kB / 339.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007878/0.1672, allocations: 298.4 kB / 340.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1672, allocations: 7.922 kB / 340.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.309e-05/0.1673, allocations: 28.84 kB / 340.2 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1675, allocations: 43.97 kB / 340.2 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1687, allocations: 1.436 MB / 341.7 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.169, allocations: 51.91 kB / 341.7 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.169, allocations: 7.938 kB / 341.7 MB, free: 5.367 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 ($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.0002429/0.1692, allocations: 209.1 kB / 341.9 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.1693, allocations: 23.72 kB / 341.9 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.1694, allocations: 25.83 kB / 342 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1694, allocations: 7.953 kB / 342 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1694, allocations: 4.062 kB / 342 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1694, allocations: 0 / 342 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.1697, allocations: 301.6 kB / 342.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1697, allocations: 0 / 342.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1699, allocations: 23.98 kB / 342.3 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.1702, allocations: 88.73 kB / 342.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1702, allocations: 0 / 342.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.1724, allocations: 1.695 MB / 344.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1725, allocations: 0 / 344.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1736, allocations: 397.5 kB / 344.5 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.1737, allocations: 104.8 kB / 344.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1737, allocations: 8 kB / 344.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.174, allocations: 39.97 kB / 344.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.1741, allocations: 19.97 kB / 344.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1741, allocations: 11.98 kB / 344.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1743, allocations: 186 kB / 344.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.1743, allocations: 0 / 344.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.1749, allocations: 123.6 kB / 345 MB, free: 1.898 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 (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.0001799/0.175, allocations: 115.2 kB / 345.1 MB, free: 1.777 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1765, allocations: 0.7218 MB / 345.8 MB, free: 1.008 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1765, allocations: 4.625 kB / 345.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.1771, allocations: 238.6 kB / 346 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1774, allocations: 52.44 kB / 346.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1785, allocations: 0.529 MB / 346.6 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1788, allocations: 0.7522 MB / 347.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.179, allocations: 26.28 kB / 347.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.179, allocations: 19.44 kB / 347.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1791, allocations: 0 / 347.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Templates: time 0.00802/0.1871, allocations: 3.697 MB / 351.1 MB, free: 11.64 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: