Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001794/0.001794, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 51.92 kB / 352 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2448, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003671/0.2485, allocations: 2.76 MB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2496, allocations: 0.6661 MB / 404.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.2497, allocations: 7.938 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2499, allocations: 47.56 kB / 404.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.2501, allocations: 91.25 kB / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2504, allocations: 91.81 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2507, allocations: 358.5 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.2509, allocations: 84.7 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2511, allocations: 139.4 kB / 405.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2513, allocations: 143.4 kB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.2514, allocations: 32 kB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.2514, allocations: 31.94 kB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.2515, allocations: 63.75 kB / 405.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.2516, allocations: 147.2 kB / 406.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.2519, allocations: 316 kB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2519, allocations: 4 kB / 406.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.252, allocations: 3.984 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.252, allocations: 0 / 406.4 MB, free: 3.863 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.001191/0.2532, allocations: 0.634 MB / 407 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2532, allocations: 11.97 kB / 407 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.2533, allocations: 32.64 kB / 407.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.2536, allocations: 279.7 kB / 407.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2537, allocations: 12.81 kB / 407.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.2537, allocations: 20.38 kB / 407.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.2544, allocations: 286 kB / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2544, allocations: 0 / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2544, allocations: 4 kB / 407.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2544, allocations: 11.98 kB / 407.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.2552, allocations: 241.6 kB / 407.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2567, allocations: 0.9518 MB / 408.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.2576, allocations: 242.6 kB / 409.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.2579, allocations: 104.8 kB / 409.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.258, allocations: 4 kB / 409.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.2584, allocations: 181.7 kB / 409.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.2584, allocations: 0 / 409.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002376/0.2608, allocations: 0.6533 MB / 410 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.2609, allocations: 110.7 kB / 410.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.2612, allocations: 258.6 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2612, allocations: 25.7 kB / 410.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2613, allocations: 183.8 kB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2614, allocations: 39.45 kB / 410.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.2615, allocations: 45.7 kB / 410.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2616, allocations: 339 kB / 411 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2619, allocations: 95.92 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.2623, allocations: 176.4 kB / 411.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.263, allocations: 264.3 kB / 411.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2631, allocations: 0 / 411.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001202/0.2643, allocations: 435.5 kB / 412 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.2643, allocations: 37.69 kB / 412 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2643, allocations: 7.938 kB / 412 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.2647, allocations: 80.86 kB / 412.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2649, allocations: 35.97 kB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.2675, allocations: 1.95 MB / 414.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2679, allocations: 59.83 kB / 414.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2679, allocations: 12 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001448/0.2681, allocations: 133.8 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.2681, allocations: 27.75 kB / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.2682, allocations: 25.77 kB / 414.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2682, allocations: 0 / 414.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2682, allocations: 4 kB / 414.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.2683, allocations: 100.9 kB / 414.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2683, allocations: 4 kB / 414.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.2686, allocations: 27.97 kB / 414.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.2687, allocations: 23.91 kB / 414.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001343/0.27, allocations: 433.4 kB / 414.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.2712, allocations: 0.5049 MB / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003328/0.2715, allocations: 99.42 kB / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.2717, allocations: 186 kB / 415.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2717, allocations: 0 / 415.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2727, allocations: 408.2 kB / 416.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of SimCode: time 0.001027/0.2738, allocations: 0.914 MB / 417 MB, free: 8.594 MB / 334.1 MB Notification: Performance of Templates: time 0.008406/0.2822, allocations: 3.909 MB / 420.9 MB, free: 4.715 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)