Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009597/0.009596, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001399/0.001399, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001756/0.001756, allocations: 55.92 kB / 326.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 46.61 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.006001/0.1565, allocations: 2.71 MB / 375.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1587, allocations: 0.7251 MB / 376.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.1591, allocations: 7.938 kB / 376.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1595, allocations: 43.58 kB / 376.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.16, allocations: 99.23 kB / 376.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.1606, allocations: 91.83 kB / 376.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.1613, allocations: 366.4 kB / 377.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1616, allocations: 76.72 kB / 377.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.1619, allocations: 139.5 kB / 377.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.1622, allocations: 151.3 kB / 377.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.1623, allocations: 28 kB / 377.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.1624, allocations: 32 kB / 377.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2733/0.4357, allocations: 62.98 kB / 377.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.4362, allocations: 144.7 kB / 377.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.4369, allocations: 328 kB / 378.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4369, allocations: 1.125 kB / 378.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4369, allocations: 0 / 378.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4369, allocations: 0 / 378.2 MB, free: 10.13 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.001473/0.4384, allocations: 0.6394 MB / 378.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4385, allocations: 9.25 kB / 378.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.4386, allocations: 31.72 kB / 378.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.4391, allocations: 288.5 kB / 379.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.4391, allocations: 15.66 kB / 379.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.4392, allocations: 20.62 kB / 379.2 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.4399, allocations: 245.8 kB / 379.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4399, allocations: 3.938 kB / 379.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.44, allocations: 9.906 kB / 379.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.44, allocations: 4.125 kB / 379.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.4408, allocations: 249.2 kB / 379.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.443, allocations: 0.8676 MB / 380.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.4442, allocations: 241.2 kB / 380.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.4446, allocations: 98.58 kB / 380.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.4447, allocations: 9.812 kB / 380.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006691/0.4453, allocations: 183.2 kB / 381 MB, free: 8.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4454, allocations: 0 / 381 MB, free: 8.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002909/0.4483, allocations: 0.6706 MB / 381.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.4484, allocations: 109.8 kB / 381.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.4488, allocations: 269.3 kB / 382.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.4489, allocations: 29.39 kB / 382.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.449, allocations: 182.2 kB / 382.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.4491, allocations: 40.25 kB / 382.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.4492, allocations: 45.66 kB / 382.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4494, allocations: 341 kB / 382.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.4498, allocations: 107.9 kB / 382.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.4503, allocations: 177.5 kB / 383 MB, free: 7.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.4511, allocations: 279.3 kB / 383.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4511, allocations: 1.844 kB / 383.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001408/0.4525, allocations: 448.7 kB / 383.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.4526, allocations: 34.31 kB / 383.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4526, allocations: 1.781 kB / 383.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.4532, allocations: 83.64 kB / 383.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4534, allocations: 41.39 kB / 383.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.4564, allocations: 2.018 MB / 385.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.4568, allocations: 46.55 kB / 385.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.4569, allocations: 7.641 kB / 385.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004391/0.4573, allocations: 185.1 kB / 386.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003519/0.4577, allocations: 166.7 kB / 386.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005855/0.4583, allocations: 240.8 kB / 386.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.4583, allocations: 1.25 kB / 386.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008928/0.4592, allocations: 332.2 kB / 386.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.4593, allocations: 33.78 kB / 386.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4593, allocations: 2.797 kB / 386.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.4594, allocations: 27.88 kB / 386.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4596, allocations: 55.91 kB / 387 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/0.4605, allocations: 1.412 MB / 388.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.4609, allocations: 48.58 kB / 388.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4609, allocations: 7.453 kB / 388.4 MB, free: 4.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001397/0.4611, allocations: 195.2 kB / 388.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.4611, allocations: 19.75 kB / 388.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.4612, allocations: 27.08 kB / 388.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4612, allocations: 2.219 kB / 388.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.4612, allocations: 3.938 kB / 388.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4612, allocations: 0.9375 kB / 388.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.4616, allocations: 305.5 kB / 389 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4616, allocations: 1.797 kB / 389 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4617, allocations: 24.47 kB / 389 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.462, allocations: 78.83 kB / 389.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.462, allocations: 2.75 kB / 389.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.4645, allocations: 1.908 MB / 391 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4645, allocations: 4.312 kB / 391 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4657, allocations: 365.3 kB / 391.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.4658, allocations: 105.5 kB / 391.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.4658, allocations: 6.031 kB / 391.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.4661, allocations: 33.81 kB / 391.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4662, allocations: 22.83 kB / 391.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4662, allocations: 4.109 kB / 391.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.4665, allocations: 192.8 kB / 391.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4666, allocations: 0 / 391.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006985/0.4673, allocations: 123.2 kB / 391.8 MB, free: 1.547 MB / 318.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.0001896/0.4675, allocations: 109.9 kB / 391.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.4695, allocations: 0.763 MB / 392.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4695, allocations: 0 / 392.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.4701, allocations: 227.8 kB / 392.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.4705, allocations: 58.38 kB / 393 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.474, allocations: 0.8974 MB / 393.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4743, allocations: 0.7481 MB / 394.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.4745, allocations: 25.88 kB / 394.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.4746, allocations: 20.56 kB / 394.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4746, allocations: 0 / 394.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Templates: time 0.01191/0.4865, allocations: 4.197 MB / 398.9 MB, free: 15.06 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)