Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007644/0.007644, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001233/0.001233, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.068/2.068, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001373/0.001373, allocations: 43.47 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1467, allocations: 46.62 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004398/0.1512, allocations: 2.715 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1528, allocations: 0.7251 MB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.153, allocations: 4 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1532, allocations: 39.58 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1534, allocations: 91.19 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1537, allocations: 99.81 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1542, allocations: 362.4 kB / 377.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1544, allocations: 80.64 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1546, allocations: 131.5 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1548, allocations: 159.3 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.1548, allocations: 28 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.1549, allocations: 28 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.155, allocations: 67.77 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1552, allocations: 151.2 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1555, allocations: 318.9 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.1556, allocations: 4 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.1556, allocations: 3.984 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1556, allocations: 3.938 kB / 378.2 MB, free: 12.26 MB / 318.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.001407/0.157, allocations: 0.6302 MB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.1571, allocations: 12.02 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.562e-05/0.1572, allocations: 36.56 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.1577, allocations: 279.6 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1577, allocations: 16.81 kB / 379.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.1578, allocations: 20.38 kB / 379.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.1584, allocations: 251.5 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1584, allocations: 0 / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.1584, allocations: 12 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1585, allocations: 4 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.1592, allocations: 241.6 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1608, allocations: 0.866 MB / 380.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.1617, allocations: 246.5 kB / 380.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.162, allocations: 104.8 kB / 380.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.162, allocations: 3.984 kB / 380.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.1625, allocations: 177.8 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1625, allocations: 224 / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002446/0.165, allocations: 0.6708 MB / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.1651, allocations: 110.8 kB / 381.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1654, allocations: 266.5 kB / 382.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1654, allocations: 33.7 kB / 382.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1655, allocations: 171.9 kB / 382.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1656, allocations: 43.38 kB / 382.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1657, allocations: 49.55 kB / 382.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1658, allocations: 334.8 kB / 382.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.1662, allocations: 104.8 kB / 382.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1665, allocations: 163.5 kB / 383 MB, free: 7.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.1672, allocations: 264.5 kB / 383.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1673, allocations: 0 / 383.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001225/0.1685, allocations: 431.7 kB / 383.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.1685, allocations: 37.64 kB / 383.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1686, allocations: 0 / 383.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.169, allocations: 84.83 kB / 383.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1692, allocations: 35.95 kB / 383.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.1719, allocations: 1.966 MB / 385.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.1723, allocations: 43.84 kB / 385.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.1723, allocations: 8 kB / 385.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003438/0.1727, allocations: 184 kB / 386 MB, free: 3.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002804/0.173, allocations: 143.7 kB / 386.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005094/0.1735, allocations: 227.6 kB / 386.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.1735, allocations: 3.938 kB / 386.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007076/0.1742, allocations: 311.7 kB / 386.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.1743, allocations: 41.59 kB / 386.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.1743, allocations: 192 / 386.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.58e-05/0.1744, allocations: 32.84 kB / 386.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.1746, allocations: 43.91 kB / 386.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1757, allocations: 1.611 MB / 388.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.176, allocations: 39.91 kB / 388.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.176, allocations: 4.062 kB / 388.4 MB, free: 1.254 MB / 318.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.0001619/0.1762, allocations: 212.3 kB / 388.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.1763, allocations: 23.72 kB / 388.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.1763, allocations: 21.84 kB / 388.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1763, allocations: 4 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1763, allocations: 3.984 kB / 388.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1764, allocations: 3.938 kB / 388.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1767, allocations: 293.4 kB / 389 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1767, allocations: 0 / 389 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1768, allocations: 27.97 kB / 389 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.1771, allocations: 72.8 kB / 389.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1771, allocations: 8 kB / 389.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.1795, allocations: 1.758 MB / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1795, allocations: 0 / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1806, allocations: 361.5 kB / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.1807, allocations: 100.8 kB / 391.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1807, allocations: 7.984 kB / 391.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.181, allocations: 31.97 kB / 391.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1811, allocations: 19.97 kB / 391.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1811, allocations: 7.875 kB / 391.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1813, allocations: 194 kB / 391.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1813, allocations: 4 kB / 391.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005745/0.1819, allocations: 123.7 kB / 391.7 MB, free: 13.77 MB / 334.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.0001778/0.1821, allocations: 99.86 kB / 391.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1837, allocations: 0.6872 MB / 392.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1837, allocations: 0.6875 kB / 392.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.1842, allocations: 230.6 kB / 392.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1846, allocations: 52.52 kB / 392.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1857, allocations: 463.5 kB / 393.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.1862, allocations: 0.7522 MB / 394 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1863, allocations: 22.3 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.1864, allocations: 19.44 kB / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1864, allocations: 0 / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Templates: time 0.009821/0.1962, allocations: 4.228 MB / 398.2 MB, free: 7.094 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)