Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001232/0.001232, allocations: 93.27 kB / 16.3 MB, free: 6.133 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.001529/0.001529, allocations: 179 kB / 17.2 MB, free: 6.016 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.727/1.727, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004777/0.0004777, allocations: 15.98 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002919/0.129, allocations: 2.198 MB / 329.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1303, allocations: 0.7065 MB / 330.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1305, allocations: 4 kB / 330.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.1306, allocations: 31.77 kB / 330.7 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1309, allocations: 103.6 kB / 330.8 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1311, allocations: 67.84 kB / 330.8 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.1315, allocations: 239.5 kB / 331.1 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.1317, allocations: 65.09 kB / 331.1 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1319, allocations: 107.6 kB / 331.2 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1321, allocations: 131.4 kB / 331.4 MB, free: 440 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1322, allocations: 16 kB / 331.4 MB, free: 424 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.1322, allocations: 12 kB / 331.4 MB, free: 412 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1323, allocations: 51.81 kB / 331.4 MB, free: 360 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.1324, allocations: 73.56 kB / 331.5 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1327, allocations: 227.6 kB / 331.7 MB, free: 52 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1327, allocations: 0 / 331.7 MB, free: 52 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1327, allocations: 0 / 331.7 MB, free: 52 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1327, allocations: 4 kB / 331.7 MB, free: 48 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.001323/0.134, allocations: 0.6184 MB / 332.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1341, allocations: 8.031 kB / 332.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.1342, allocations: 31.62 kB / 332.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1345, allocations: 282.3 kB / 332.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1345, allocations: 12.44 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1346, allocations: 31.94 kB / 332.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.1352, allocations: 251.2 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1352, allocations: 4 kB / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1353, allocations: 12 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1353, allocations: 4 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/0.136, allocations: 269.5 kB / 333.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.1377, allocations: 0.8973 MB / 334.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.1386, allocations: 266.6 kB / 334.4 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1386, allocations: 7.953 kB / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.1392, allocations: 189.8 kB / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.1392, allocations: 4 kB / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002498/0.1417, allocations: 0.7527 MB / 335.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.1418, allocations: 106.8 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1421, allocations: 270.6 kB / 335.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1421, allocations: 25.7 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1423, allocations: 179.9 kB / 335.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1423, allocations: 39.45 kB / 335.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.1423, allocations: 4 kB / 336 MB, free: 11.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1425, allocations: 342.8 kB / 336.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1429, allocations: 103.9 kB / 336.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1433, allocations: 193.3 kB / 336.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.1437, allocations: 149.6 kB / 336.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1437, allocations: 224 / 336.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001247/0.145, allocations: 490.4 kB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.1454, allocations: 0.8228 MB / 338 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1454, allocations: 4 kB / 338 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.1458, allocations: 88.8 kB / 338.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1461, allocations: 51.91 kB / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.1492, allocations: 1.889 MB / 340.1 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.1496, allocations: 59.64 kB / 340.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.1496, allocations: 16.06 kB / 340.1 MB, free: 7.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1496, allocations: 4 kB / 340.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007561/0.1504, allocations: 310.3 kB / 340.4 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1504, allocations: 0 / 340.4 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.1505, allocations: 24.84 kB / 340.5 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1507, allocations: 56.03 kB / 340.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.1518, allocations: 1.32 MB / 341.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1521, allocations: 43.81 kB / 341.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1521, allocations: 8 kB / 341.9 MB, free: 5.188 MB / 286.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 ($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 (20): * Single equations (assignments): 18 * 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.0002396/0.1524, allocations: 220.5 kB / 342.1 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.1524, allocations: 27.72 kB / 342.1 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1525, allocations: 25.83 kB / 342.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1525, allocations: 7.891 kB / 342.2 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1525, allocations: 0 / 342.2 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1525, allocations: 3.938 kB / 342.2 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.1529, allocations: 297.5 kB / 342.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1529, allocations: 0 / 342.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.153, allocations: 27.98 kB / 342.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.1533, allocations: 76.8 kB / 342.6 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1533, allocations: 7.984 kB / 342.6 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1558, allocations: 1.795 MB / 344.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1558, allocations: 3.984 kB / 344.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1569, allocations: 393.5 kB / 344.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.1569, allocations: 100.8 kB / 344.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.157, allocations: 4 kB / 344.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1572, allocations: 43.95 kB / 344.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.1573, allocations: 19.97 kB / 344.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1574, allocations: 8 kB / 344.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.1576, allocations: 190 kB / 345.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.1576, allocations: 0 / 345.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000588/0.1582, allocations: 131.6 kB / 345.2 MB, free: 1.605 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.0001541/0.1583, allocations: 103.4 kB / 345.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.1601, allocations: 0.8055 MB / 346.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1601, allocations: 0 / 346.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.1607, allocations: 247 kB / 346.4 MB, free: 396 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1611, allocations: 44.48 kB / 346.4 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.1642, allocations: 1.061 MB / 347.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1645, allocations: 0.7522 MB / 348.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1647, allocations: 26.28 kB / 348.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.1647, allocations: 19.44 kB / 348.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.103e-06/0.1648, allocations: 3.938 kB / 348.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Templates: time 0.007807/0.1726, allocations: 3.646 MB / 351.9 MB, free: 10.79 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) Environment - environmentSimulation: