Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09107, allocations: 44.52 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00367/0.09479, allocations: 2.192 MB / 311.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.0962, allocations: 0.648 MB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.09635, allocations: 7.938 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.09644, allocations: 27.75 kB / 312 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.09679, allocations: 103.7 kB / 312.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.09705, allocations: 51.88 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.09748, allocations: 223.4 kB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.0977, allocations: 69.12 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.09789, allocations: 103.6 kB / 312.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.09813, allocations: 123.5 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.0982, allocations: 16 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.09827, allocations: 12 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.09836, allocations: 51.81 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.09846, allocations: 73.52 kB / 312.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.09881, allocations: 227.6 kB / 313 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.09882, allocations: 3.938 kB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.09884, allocations: 0 / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.09885, allocations: 4 kB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001451/0.1003, allocations: 0.5755 MB / 313.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1004, allocations: 12.02 kB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.1005, allocations: 27.72 kB / 313.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1009, allocations: 262.5 kB / 313.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1009, allocations: 20.44 kB / 313.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.101, allocations: 16 kB / 313.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.1018, allocations: 227.2 kB / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1019, allocations: 0 / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1019, allocations: 12 kB / 314.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.102, allocations: 7.938 kB / 314.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.103, allocations: 233.5 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1052, allocations: 0.8581 MB / 315.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1063, allocations: 222.6 kB / 315.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1064, allocations: 0 / 315.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.107, allocations: 173.8 kB / 315.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.107, allocations: 0 / 315.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003266/0.1103, allocations: 0.5576 MB / 316.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.1104, allocations: 106.8 kB / 316.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.1108, allocations: 258.6 kB / 316.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.1109, allocations: 33.7 kB / 316.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1111, allocations: 171.8 kB / 316.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.1111, allocations: 39.45 kB / 316.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.1112, allocations: 4 kB / 316.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1113, allocations: 342.8 kB / 317.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1118, allocations: 87.94 kB / 317.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.1124, allocations: 173.3 kB / 317.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.113, allocations: 125.7 kB / 317.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.113, allocations: 0 / 317.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001881/0.1149, allocations: 415.7 kB / 317.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.115, allocations: 38.42 kB / 317.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.115, allocations: 4 kB / 317.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/0.1158, allocations: 96.81 kB / 318 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.1162, allocations: 47.91 kB / 318.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.1199, allocations: 1.778 MB / 319.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.1205, allocations: 47.94 kB / 319.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1205, allocations: 8 kB / 319.9 MB, free: 4.996 MB / 266.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.1208, allocations: 157.8 kB / 320.1 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.1208, allocations: 19.81 kB / 320.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.1209, allocations: 25.83 kB / 320.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1209, allocations: 3.938 kB / 320.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1209, allocations: 0 / 320.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.424e-05/0.121, allocations: 100.8 kB / 320.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.1211, allocations: 4 kB / 320.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1215, allocations: 35.97 kB / 320.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1216, allocations: 23.92 kB / 320.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001459/0.1231, allocations: 349.5 kB / 320.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001524/0.1246, allocations: 495 kB / 321.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004452/0.1251, allocations: 84 kB / 321.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.1254, allocations: 186 kB / 321.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of Backend: time 7.62e-07/0.1254, allocations: 3.938 kB / 321.4 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1266, allocations: 400.6 kB / 321.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of SimCode: time 0.001384/0.128, allocations: 0.979 MB / 322.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of Templates: time 0.01074/0.1387, allocations: 3.24 MB / 326 MB, free: 14.81 MB / 282.7 MB