Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001084/0.001084, allocations: 116 kB / 17.75 MB, free: 5.223 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.001084/0.001084, allocations: 185.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009918/0.0009919, allocations: 51.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2423, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003724/0.246, allocations: 2.76 MB / 404.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2472, allocations: 0.67 MB / 404.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2474, allocations: 4 kB / 404.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2476, allocations: 39.58 kB / 404.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2478, allocations: 103.2 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.248, allocations: 91.81 kB / 405.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.2484, allocations: 362.5 kB / 405.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2486, allocations: 80.7 kB / 405.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.2488, allocations: 135.5 kB / 405.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.249, allocations: 143.4 kB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.249, allocations: 28 kB / 405.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.2491, allocations: 28 kB / 405.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.2492, allocations: 71.69 kB / 405.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.2493, allocations: 151.2 kB / 406.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2497, allocations: 324 kB / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2497, allocations: 0 / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2497, allocations: 0 / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2497, allocations: 0 / 406.4 MB, free: 3.906 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.001257/0.251, allocations: 0.6418 MB / 407 MB, free: 3.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.251, allocations: 11.89 kB / 407.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.2511, allocations: 32.59 kB / 407.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.2515, allocations: 275.7 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2515, allocations: 20.81 kB / 407.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.2515, allocations: 16.38 kB / 407.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.2522, allocations: 286 kB / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2522, allocations: 0 / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2523, allocations: 8 kB / 407.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2523, allocations: 8 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.2531, allocations: 245.6 kB / 407.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.2546, allocations: 0.9519 MB / 408.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.2555, allocations: 238.5 kB / 409.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.2558, allocations: 100.8 kB / 409.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2558, allocations: 3.984 kB / 409.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.2563, allocations: 181.8 kB / 409.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.2563, allocations: 0 / 409.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002395/0.2587, allocations: 0.6512 MB / 410 MB, free: 24 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.2588, allocations: 110.8 kB / 410.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2591, allocations: 266.6 kB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2591, allocations: 29.7 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2592, allocations: 187.7 kB / 410.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2593, allocations: 43.45 kB / 410.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.2594, allocations: 41.7 kB / 410.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2595, allocations: 338.8 kB / 411 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2599, allocations: 96.14 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.2603, allocations: 186.1 kB / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.261, allocations: 293.9 kB / 411.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.261, allocations: 0 / 411.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001241/0.2623, allocations: 442.3 kB / 412 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.2623, allocations: 41.62 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2623, allocations: 4.062 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.2627, allocations: 80.8 kB / 412.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2629, allocations: 39.97 kB / 412.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.2657, allocations: 2.001 MB / 414.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.2661, allocations: 55.72 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2661, allocations: 12 kB / 414.3 MB, free: 11.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.000136/0.2663, allocations: 133.8 kB / 414.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.2663, allocations: 27.7 kB / 414.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.2664, allocations: 29.77 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2664, allocations: 11.97 kB / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2664, allocations: 0 / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.2665, allocations: 104.7 kB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.2665, allocations: 7.984 kB / 414.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.2668, allocations: 27.97 kB / 414.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.2669, allocations: 23.97 kB / 414.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001347/0.2682, allocations: 423.9 kB / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001096/0.2694, allocations: 0.5138 MB / 415.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003332/0.2697, allocations: 87.98 kB / 415.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2699, allocations: 198 kB / 415.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.2699, allocations: 0 / 415.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2712, allocations: 481.9 kB / 416.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of SimCode: time 0.001006/0.2722, allocations: 0.9069 MB / 417.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of Templates: time 0.007866/0.2801, allocations: 3.885 MB / 421.1 MB, free: 4.57 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)