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.009221/0.009221, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002139/0.002139, allocations: 195.6 kB / 16.67 MB, free: 5.93 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.951/1.951, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001503/0.001503, allocations: 50.95 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1481, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005721/0.1539, allocations: 2.711 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1559, allocations: 0.7213 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.1561, allocations: 4 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1564, allocations: 43.56 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1567, allocations: 99.19 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1571, allocations: 87.88 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.1577, allocations: 362.3 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.1579, allocations: 92.64 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1582, allocations: 131.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1584, allocations: 163.2 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.1585, allocations: 28 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.1585, allocations: 28 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.1586, allocations: 63.77 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1589, allocations: 143.2 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.1594, allocations: 322.9 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.1594, allocations: 8 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1594, allocations: 0 / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1594, allocations: 0 / 378.2 MB, free: 12.27 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.001572/0.161, allocations: 0.6418 MB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/0.1611, allocations: 8.031 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1612, allocations: 36.56 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.1619, allocations: 279.6 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1619, allocations: 16.81 kB / 379.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.162, allocations: 20.38 kB / 379.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.1626, allocations: 251.5 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1627, allocations: 0 / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1627, allocations: 8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1627, allocations: 8 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.1635, allocations: 249.5 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.1652, allocations: 0.8622 MB / 380.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.1662, allocations: 238.5 kB / 380.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.1666, allocations: 108.8 kB / 380.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1666, allocations: 0 / 380.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.1672, allocations: 185.8 kB / 381.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.1672, allocations: 0 / 381.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002758/0.17, allocations: 0.671 MB / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.1701, allocations: 106.8 kB / 381.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.1706, allocations: 266.5 kB / 382.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.1707, allocations: 33.7 kB / 382.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1709, allocations: 175.9 kB / 382.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1709, allocations: 39.45 kB / 382.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.171, allocations: 49.55 kB / 382.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1712, allocations: 330.8 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.1716, allocations: 104.8 kB / 382.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.1721, allocations: 163.5 kB / 383 MB, free: 7.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.1728, allocations: 264.5 kB / 383.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1728, allocations: 0 / 383.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001288/0.1741, allocations: 435.6 kB / 383.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.1742, allocations: 37.69 kB / 383.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1742, allocations: 0 / 383.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.1747, allocations: 92.7 kB / 383.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1749, allocations: 31.97 kB / 383.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.1779, allocations: 1.966 MB / 385.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1782, allocations: 47.91 kB / 385.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1783, allocations: 11.98 kB / 385.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003914/0.1787, allocations: 176.1 kB / 386 MB, free: 3.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003152/0.179, allocations: 143.6 kB / 386.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005501/0.1796, allocations: 227.6 kB / 386.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.75e-06/0.1796, 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.0008415/0.1804, allocations: 315.6 kB / 386.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.1805, allocations: 37.61 kB / 386.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1805, allocations: 0 / 386.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.1806, allocations: 28.84 kB / 386.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1808, allocations: 48.09 kB / 386.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1825, allocations: 1.611 MB / 388.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.1829, allocations: 43.89 kB / 388.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1829, allocations: 4 kB / 388.4 MB, free: 1.25 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.0002092/0.1831, allocations: 204.3 kB / 388.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.1832, allocations: 27.78 kB / 388.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.1832, allocations: 25.83 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1832, allocations: 0 / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1833, allocations: 4 kB / 388.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1833, allocations: 0 / 388.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.1836, allocations: 293.4 kB / 389 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1836, allocations: 0 / 389 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1838, allocations: 27.97 kB / 389 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.1841, allocations: 76.8 kB / 389.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1841, allocations: 4 kB / 389.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.1868, allocations: 1.762 MB / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1868, allocations: 0 / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.1879, allocations: 361.5 kB / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1881, allocations: 104.8 kB / 391.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1881, allocations: 4 kB / 391.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1884, allocations: 36.16 kB / 391.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1885, allocations: 23.97 kB / 391.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1885, allocations: 3.938 kB / 391.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1887, allocations: 198 kB / 391.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 391.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006327/0.1894, allocations: 123.7 kB / 391.7 MB, free: 13.76 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.0001851/0.1896, allocations: 111.1 kB / 391.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.1913, allocations: 0.6833 MB / 392.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1913, allocations: 0 / 392.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.1918, allocations: 231.2 kB / 392.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1922, allocations: 44.39 kB / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1934, allocations: 464.4 kB / 393.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1938, allocations: 0.7483 MB / 394 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.194, allocations: 26.28 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1941, allocations: 19.44 kB / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1941, allocations: 0 / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Templates: time 0.01155/0.2056, allocations: 4.224 MB / 398.2 MB, free: 7.094 MB / 334.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)