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.001433/0.001433, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.001479, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.922/1.922, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.00158/0.00158, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3328, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005249/0.3381, allocations: 2.732 MB / 328.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3402, allocations: 0.7141 MB / 328.8 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.3406, allocations: 3.781 kB / 328.8 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3409, allocations: 39.11 kB / 328.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3412, allocations: 88.41 kB / 328.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3417, allocations: 103 kB / 329 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.3422, allocations: 346.7 kB / 329.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.3425, allocations: 84.88 kB / 329.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3428, allocations: 134 kB / 329.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.343, allocations: 148.9 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.3431, allocations: 28.59 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.331e-05/0.3432, allocations: 30.31 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.3433, allocations: 70.61 kB / 329.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.3435, allocations: 148 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.344, allocations: 322.5 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.344, allocations: 0 / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.344, allocations: 1.156 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.344, allocations: 0 / 330.3 MB, free: 14.07 MB / 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.001598/0.3457, allocations: 0.6374 MB / 330.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.3457, allocations: 9.688 kB / 330.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3458, allocations: 27.59 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.3462, allocations: 284 kB / 331.2 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3463, allocations: 14.12 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.3464, allocations: 21.66 kB / 331.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.3471, allocations: 249.8 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3471, allocations: 1.562 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.3471, allocations: 9.719 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3471, allocations: 4.25 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.348, allocations: 247.4 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.35, allocations: 0.8768 MB / 332.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.351, allocations: 238.5 kB / 332.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.3514, allocations: 106.7 kB / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3514, allocations: 1.094 kB / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007246/0.3521, allocations: 183.2 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.3522, allocations: 0 / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002644/0.3548, allocations: 0.6738 MB / 333.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.3549, allocations: 106.8 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.3552, allocations: 262.6 kB / 334.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3553, allocations: 29.7 kB / 334.2 MB, free: 10.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3554, allocations: 179.8 kB / 334.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.3555, allocations: 43.39 kB / 334.4 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.3556, allocations: 49.64 kB / 334.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3557, allocations: 330.8 kB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.3561, allocations: 104.8 kB / 334.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3564, allocations: 155.7 kB / 335.1 MB, free: 9.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3571, allocations: 266.5 kB / 335.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3571, allocations: 0 / 335.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001231/0.3584, allocations: 439.5 kB / 335.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.3585, allocations: 37.69 kB / 335.8 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3585, allocations: 4 kB / 335.8 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.3589, allocations: 72.8 kB / 335.9 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3591, allocations: 43.94 kB / 335.9 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.3621, allocations: 1.962 MB / 337.9 MB, free: 6.836 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.3625, allocations: 51.91 kB / 337.9 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3626, allocations: 7.984 kB / 337.9 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003444/0.3629, allocations: 176.3 kB / 338.1 MB, free: 6.602 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000295/0.3632, allocations: 139.7 kB / 338.2 MB, free: 6.438 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005056/0.3637, allocations: 227.5 kB / 338.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.177e-06/0.3638, allocations: 3.938 kB / 338.5 MB, free: 6.184 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007669/0.3645, allocations: 325.8 kB / 338.8 MB, free: 5.852 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.3646, allocations: 37.7 kB / 338.8 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.3646, allocations: 0 / 338.8 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.3647, allocations: 28.84 kB / 338.9 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3649, allocations: 40.16 kB / 338.9 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3661, allocations: 1.615 MB / 340.5 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.3665, allocations: 43.83 kB / 340.5 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3665, allocations: 12 kB / 340.6 MB, free: 3.934 MB / 270.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.0001578/0.3667, allocations: 196.4 kB / 340.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.3667, allocations: 23.72 kB / 340.8 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.3668, allocations: 25.83 kB / 340.8 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3668, allocations: 4 kB / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3668, allocations: 0 / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3668, allocations: 0 / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3671, allocations: 297.4 kB / 341.1 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3672, allocations: 0 / 341.1 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3673, allocations: 27.91 kB / 341.1 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.3676, allocations: 76.8 kB / 341.2 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3676, allocations: 4 kB / 341.2 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.3698, allocations: 1.762 MB / 343 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3698, allocations: 0 / 343 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3709, allocations: 365.6 kB / 343.3 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.371, allocations: 104.8 kB / 343.4 MB, free: 0.832 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.371, allocations: 4 kB / 343.4 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3713, allocations: 31.97 kB / 343.5 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.3714, allocations: 19.97 kB / 343.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3714, allocations: 7.938 kB / 343.5 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3716, allocations: 190 kB / 343.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3716, allocations: 4 kB / 343.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005842/0.3722, allocations: 123.8 kB / 343.8 MB, free: 472 kB / 270.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.0001861/0.3724, allocations: 95.25 kB / 343.9 MB, free: 368 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.3739, allocations: 0.6877 MB / 344.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.374, allocations: 0.6875 kB / 344.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.3744, allocations: 238.5 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3748, allocations: 48.5 kB / 344.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3759, allocations: 460.6 kB / 345.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3764, allocations: 0.7483 MB / 346.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3766, allocations: 26.28 kB / 346.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.3766, allocations: 15.44 kB / 346.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3766, allocations: 4 kB / 346.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of Templates: time 0.00892/0.3856, allocations: 4.178 MB / 350.3 MB, free: 9.855 MB / 286.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)