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.0008976/0.0008976, allocations: 92.73 kB / 16.65 MB, free: 6.535 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.0008891/0.0008892, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.827/1.827, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004922/0.0004925, allocations: 16 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003456/0.1384, allocations: 2.406 MB / 330.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1402, allocations: 0.7022 MB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1404, allocations: 7.938 kB / 331.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1406, allocations: 31.77 kB / 331.5 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1408, allocations: 79.38 kB / 331.6 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1412, allocations: 87.91 kB / 331.6 MB, free: 424 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1416, allocations: 330.6 kB / 332 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1418, allocations: 65.16 kB / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.142, allocations: 123.5 kB / 332.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1423, allocations: 139.3 kB / 332.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1423, allocations: 12 kB / 332.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.1424, allocations: 16 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1424, allocations: 51.75 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1426, allocations: 153 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1429, allocations: 306.9 kB / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1429, allocations: 0 / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.143, allocations: 0 / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.143, allocations: 0 / 332.8 MB, free: 15.24 MB / 286.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.001345/0.1443, allocations: 0.6108 MB / 333.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/0.1444, allocations: 12.03 kB / 333.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1445, allocations: 32.5 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.1449, allocations: 283.6 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.145, allocations: 16.75 kB / 333.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.145, allocations: 20.38 kB / 333.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.1457, allocations: 263.5 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1457, allocations: 0 / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1458, allocations: 12 kB / 334 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1458, allocations: 8 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.1466, allocations: 277.6 kB / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1483, allocations: 0.8973 MB / 335.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.1492, allocations: 270.5 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.1496, allocations: 116.8 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.1497, allocations: 4 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.1503, allocations: 193.7 kB / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.1503, allocations: 0 / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002644/0.153, allocations: 0.7566 MB / 336.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.1531, allocations: 114.8 kB / 336.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.1534, allocations: 274.5 kB / 336.9 MB, free: 10.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1535, allocations: 29.7 kB / 337 MB, free: 10.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1536, allocations: 171.9 kB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1537, allocations: 51.38 kB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.1537, allocations: 17.72 kB / 337.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1539, allocations: 342.8 kB / 337.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.1542, allocations: 119.9 kB / 337.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1547, allocations: 193.3 kB / 337.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.1554, allocations: 305.2 kB / 338.1 MB, free: 9.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1555, allocations: 0 / 338.1 MB, free: 9.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001281/0.1567, allocations: 491.6 kB / 338.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.1569, allocations: 172.3 kB / 338.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1569, allocations: 4 kB / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.1574, allocations: 88.73 kB / 338.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1576, allocations: 47.97 kB / 338.9 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1605, allocations: 1.869 MB / 340.8 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.1608, allocations: 55.94 kB / 340.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.1609, allocations: 16.06 kB / 340.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.1609, allocations: 4.219 kB / 340.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007469/0.1616, allocations: 314.2 kB / 341.2 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1617, allocations: 3.938 kB / 341.2 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.27e-05/0.1617, allocations: 24.84 kB / 341.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.162, allocations: 51.97 kB / 341.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009578/0.1629, allocations: 1.312 MB / 342.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.1632, allocations: 55.66 kB / 342.6 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1632, allocations: 8 kB / 342.6 MB, free: 4.719 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 (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.0002009/0.1634, allocations: 213.1 kB / 342.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1635, allocations: 27.69 kB / 342.9 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1636, allocations: 29.83 kB / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1636, allocations: 0 / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1636, allocations: 0 / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1636, allocations: 4 kB / 342.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.1639, allocations: 293.4 kB / 343.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1639, allocations: 3.938 kB / 343.2 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.164, allocations: 31.97 kB / 343.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.1643, allocations: 76.81 kB / 343.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1643, allocations: 3.984 kB / 343.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.1666, allocations: 1.764 MB / 345.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1667, allocations: 3.938 kB / 345.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1678, allocations: 397.5 kB / 345.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.1679, allocations: 100.8 kB / 345.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1679, allocations: 4 kB / 345.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1682, allocations: 47.95 kB / 345.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.1683, allocations: 24 kB / 345.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1683, allocations: 0 / 345.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1685, allocations: 194 kB / 345.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1685, allocations: 4 kB / 345.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1691, allocations: 123.7 kB / 345.9 MB, free: 1.172 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 (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.0002123/0.1693, allocations: 107.2 kB / 346 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.1713, allocations: 0.8049 MB / 346.8 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.1713, allocations: 4.062 kB / 346.8 MB, free: 208 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.1719, allocations: 251.1 kB / 347.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1723, allocations: 48.45 kB / 347.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.1755, allocations: 1.065 MB / 348.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1758, allocations: 0.7443 MB / 349 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.176, allocations: 38.22 kB / 349 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.1761, allocations: 15.44 kB / 349 MB, free: 13.98 MB / 302.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1761, allocations: 0 / 349 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Templates: time 0.008989/0.1851, allocations: 3.782 MB / 352.8 MB, free: 10.21 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (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)