Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001051/0.001051, allocations: 112.3 kB / 18.41 MB, free: 4.676 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.001076/0.001076, allocations: 186.2 kB / 19.34 MB, free: 3.754 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.32/1.32, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001326/0.001326, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09807, allocations: 46.62 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005147/0.1033, allocations: 2.71 MB / 378.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1049, allocations: 0.7212 MB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.105, allocations: 4 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1053, allocations: 47.56 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.1056, allocations: 95.25 kB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1059, allocations: 87.83 kB / 379.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.1064, allocations: 362.5 kB / 379.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.1067, allocations: 88.69 kB / 380 MB, free: 436 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1069, allocations: 135.4 kB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1072, allocations: 155.3 kB / 380.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.1072, allocations: 28 kB / 380.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.1073, allocations: 32 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1074, allocations: 59.77 kB / 380.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1914/0.2988, allocations: 144.4 kB / 380.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.2993, allocations: 329.5 kB / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2993, allocations: 0 / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2994, allocations: 0 / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2994, allocations: 0 / 380.8 MB, free: 10.67 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.001343/0.3007, allocations: 0.636 MB / 381.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3008, allocations: 10.25 kB / 381.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.3009, allocations: 31.19 kB / 381.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3013, allocations: 286.1 kB / 381.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3013, allocations: 15.84 kB / 381.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.3014, allocations: 21.78 kB / 381.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.302, allocations: 246.7 kB / 382.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3021, allocations: 4.547 kB / 382.1 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.3021, allocations: 9.375 kB / 382.1 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3021, allocations: 8.062 kB / 382.1 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.3029, allocations: 246.2 kB / 382.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.3045, allocations: 0.8668 MB / 383.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.3054, allocations: 238 kB / 383.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3058, allocations: 101.5 kB / 383.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3058, allocations: 3.094 kB / 383.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/0.3063, allocations: 184.3 kB / 383.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.3063, allocations: 0 / 383.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00259/0.3089, allocations: 0.6705 MB / 384.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.309, allocations: 105.8 kB / 384.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.3093, allocations: 270.3 kB / 384.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3093, allocations: 27.98 kB / 384.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.3094, allocations: 174.2 kB / 384.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3094, allocations: 39.94 kB / 385 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.3095, allocations: 45.86 kB / 385 MB, free: 8.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.3096, allocations: 337.3 kB / 385.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.31, allocations: 107.3 kB / 385.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.3104, allocations: 161.9 kB / 385.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.3111, allocations: 263.3 kB / 385.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3111, allocations: 0 / 385.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00127/0.3124, allocations: 437.4 kB / 386.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.3124, allocations: 33 kB / 386.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3125, allocations: 2.422 kB / 386.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/0.3129, allocations: 80.3 kB / 386.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3131, allocations: 37.84 kB / 386.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.3155, allocations: 1.97 MB / 388.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3159, allocations: 46.08 kB / 388.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3159, allocations: 11.42 kB / 388.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003244/0.3162, allocations: 184.2 kB / 388.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002911/0.3166, allocations: 141.8 kB / 388.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004988/0.3171, allocations: 227.1 kB / 389 MB, free: 6.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.3171, allocations: 4 kB / 389 MB, free: 6.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007333/0.3178, allocations: 313.1 kB / 389.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3179, allocations: 37.14 kB / 389.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3179, allocations: 8.562 kB / 389.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.643e-05/0.318, allocations: 31.44 kB / 389.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3182, allocations: 42.44 kB / 389.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008194/0.319, allocations: 1.611 MB / 391.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3193, allocations: 43.39 kB / 391.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3194, allocations: 9.625 kB / 391.1 MB, free: 4.25 MB / 318.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 9.063e-05/0.3195, allocations: 200.2 kB / 391.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.3195, allocations: 26.36 kB / 391.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.3195, allocations: 23.53 kB / 391.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3196, allocations: 0.8906 kB / 391.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3196, allocations: 5.75 kB / 391.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3196, allocations: 103 kB / 391.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.3197, allocations: 6.172 kB / 391.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.3199, allocations: 36.47 kB / 391.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.32, allocations: 20.38 kB / 391.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001345/0.3214, allocations: 435.2 kB / 391.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001055/0.3225, allocations: 0.4931 MB / 392.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003385/0.3228, allocations: 94.56 kB / 392.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.323, allocations: 197 kB / 392.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Backend: time 3.01e-07/0.323, allocations: 1.469 kB / 392.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3244, allocations: 0.6791 MB / 393.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008587/0.3252, allocations: 0.913 MB / 394.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Templates: time 0.01405/0.3393, allocations: 4.729 MB / 399 MB, free: 1.328 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)