Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001352/0.001352, allocations: 106.6 kB / 18.4 MB, free: 4.656 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.001201/0.001201, allocations: 186.1 kB / 19.33 MB, free: 3.734 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.49/1.49, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001483/0.001483, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 46.61 MB / 375.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004626/0.1067, allocations: 2.714 MB / 378.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1084, allocations: 0.7212 MB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.1088, allocations: 7.938 kB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1091, allocations: 43.58 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1094, allocations: 87.27 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1098, allocations: 99.8 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.1104, allocations: 354.5 kB / 379.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1107, allocations: 84.69 kB / 380 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1109, allocations: 135.5 kB / 380.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1112, allocations: 155.3 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.1112, allocations: 28 kB / 380.3 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.1113, allocations: 32 kB / 380.3 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1114, allocations: 67.7 kB / 380.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2331/0.3444, allocations: 141.4 kB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.345, allocations: 328.1 kB / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.345, allocations: 1.375 kB / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.345, allocations: 0 / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.345, allocations: 0 / 380.8 MB, free: 10.1 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.001226/0.3463, allocations: 0.6297 MB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3463, allocations: 16.11 kB / 381.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.3464, allocations: 31.69 kB / 381.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3468, allocations: 289.3 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3469, allocations: 15.56 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.3469, allocations: 20.56 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.3476, allocations: 245.8 kB / 382.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3476, allocations: 6.359 kB / 382.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3476, allocations: 10.42 kB / 382.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3476, allocations: 4.281 kB / 382.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.3484, allocations: 245.3 kB / 382.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.35, allocations: 0.869 MB / 383.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.3509, allocations: 246.5 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.3513, allocations: 101.5 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3513, allocations: 2.266 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.3519, allocations: 182.6 kB / 383.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.3519, allocations: 0 / 383.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002485/0.3544, allocations: 0.6688 MB / 384.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3544, allocations: 110.7 kB / 384.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.3548, allocations: 270.9 kB / 384.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3548, allocations: 27.98 kB / 384.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.355, allocations: 183.4 kB / 385 MB, free: 8.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.355, allocations: 36.88 kB / 385 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3552, allocations: 48.84 kB / 385 MB, free: 8.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.3553, allocations: 338.5 kB / 385.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.3556, allocations: 106.5 kB / 385.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.356, allocations: 180.6 kB / 385.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3567, allocations: 279.7 kB / 385.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3567, allocations: 3.812 kB / 385.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001323/0.3581, allocations: 445.6 kB / 386.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.3581, allocations: 38.19 kB / 386.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3581, allocations: 1.312 kB / 386.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.3585, allocations: 76.86 kB / 386.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3588, allocations: 48.38 kB / 386.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/0.3615, allocations: 2.01 MB / 388.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.3619, allocations: 46.69 kB / 388.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3619, allocations: 9.062 kB / 388.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003368/0.3623, allocations: 185.6 kB / 388.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002717/0.3626, allocations: 157 kB / 388.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004597/0.363, allocations: 251.7 kB / 389.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.363, allocations: 1.5 kB / 389.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007153/0.3638, allocations: 325 kB / 389.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3638, allocations: 42.47 kB / 389.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3638, allocations: 1.375 kB / 389.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.3639, allocations: 29.44 kB / 389.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3642, allocations: 48.2 kB / 389.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/0.3649, allocations: 1.416 MB / 391 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.3652, allocations: 48.98 kB / 391.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3652, allocations: 10.83 kB / 391.1 MB, free: 4.062 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.0001075/0.3653, allocations: 195.2 kB / 391.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.3654, allocations: 19 kB / 391.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.3655, allocations: 23.41 kB / 391.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3655, allocations: 0.5625 kB / 391.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3655, allocations: 5.688 kB / 391.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.3655, allocations: 113.2 kB / 391.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3656, allocations: 7.641 kB / 391.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.3658, allocations: 29.69 kB / 391.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3659, allocations: 20.42 kB / 391.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00126/0.3672, allocations: 431 kB / 391.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001054/0.3683, allocations: 0.5054 MB / 392.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003108/0.3686, allocations: 90.12 kB / 392.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.3688, allocations: 192 kB / 392.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of Backend: time 6.81e-07/0.3688, allocations: 0 / 392.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.3706, allocations: 0.7612 MB / 393.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of SimCode: time 0.001046/0.3717, allocations: 0.907 MB / 394.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of Templates: time 0.01152/0.3832, allocations: 4.884 MB / 399.2 MB, free: 1.039 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)