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.InvertingAmp.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.InvertingAmp,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.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003414, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09115, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003575/0.09477, allocations: 2.185 MB / 311.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.09617, allocations: 0.6519 MB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.09636, allocations: 4 kB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/0.09646, allocations: 31.75 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.09681, allocations: 103.7 kB / 312 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.09709, allocations: 47.89 kB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.09749, allocations: 223.4 kB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.09771, allocations: 65.14 kB / 312.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.0979, allocations: 103.6 kB / 312.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.09813, allocations: 123.5 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.0982, allocations: 12 kB / 312.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.09827, allocations: 16 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.09835, allocations: 47.81 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.09846, allocations: 73.58 kB / 312.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.09879, allocations: 219.6 kB / 313 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.0988, allocations: 0 / 313 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.09882, allocations: 4 kB / 313 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09884, allocations: 0 / 313 MB, free: 12.43 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.001394/0.1002, allocations: 0.5793 MB / 313.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1003, allocations: 12.02 kB / 313.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.1004, allocations: 27.72 kB / 313.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1008, allocations: 263.4 kB / 313.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1009, allocations: 16.44 kB / 313.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1009, allocations: 16 kB / 313.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.1018, allocations: 231.2 kB / 314.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1018, allocations: 0 / 314.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.1018, allocations: 12 kB / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1019, allocations: 4 kB / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.1029, allocations: 229.6 kB / 314.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.105, allocations: 0.8542 MB / 315.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1061, allocations: 218.5 kB / 315.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1061, allocations: 0 / 315.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/0.1068, allocations: 177.7 kB / 315.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.1068, allocations: 0 / 315.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003058/0.1099, allocations: 0.546 MB / 316.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1099, allocations: 106.8 kB / 316.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1103, allocations: 248.9 kB / 316.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.1104, allocations: 33.7 kB / 316.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1105, allocations: 172 kB / 316.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.1106, allocations: 47.39 kB / 316.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.1106, allocations: 0 / 316.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1108, allocations: 338.7 kB / 317 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.1112, allocations: 92.12 kB / 317.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.1118, allocations: 154.3 kB / 317.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.1123, allocations: 125.6 kB / 317.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1123, allocations: 0 / 317.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001729/0.114, allocations: 395.8 kB / 317.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.1141, allocations: 41.64 kB / 317.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1141, allocations: 4 kB / 317.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.1149, allocations: 92.81 kB / 317.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.1152, allocations: 39.97 kB / 318 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.1189, allocations: 1.781 MB / 319.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.1194, allocations: 47.84 kB / 319.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.1194, allocations: 4 kB / 319.8 MB, free: 5.098 MB / 266.7 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 ($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 (18): * Single equations (assignments): 16 * 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.0001904/0.1196, allocations: 149.8 kB / 319.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1197, allocations: 23.78 kB / 320 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.1197, allocations: 25.83 kB / 320 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1197, allocations: 0 / 320 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1197, allocations: 224 / 320 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.1198, allocations: 100.8 kB / 320.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.1199, allocations: 7.938 kB / 320.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.1203, allocations: 35.97 kB / 320.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.1204, allocations: 23.92 kB / 320.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001467/0.1219, allocations: 350 kB / 320.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001498/0.1234, allocations: 495.1 kB / 321 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004536/0.1239, allocations: 88 kB / 321.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002576/0.1242, allocations: 180.5 kB / 321.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of Backend: time 6.91e-07/0.1242, allocations: 0 / 321.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.1253, allocations: 392.3 kB / 321.6 MB, free: 3.184 MB / 266.7 MB Notification: Performance of SimCode: time 0.001287/0.1266, allocations: 0.9613 MB / 322.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.1368, allocations: 3.219 MB / 325.8 MB, free: 14.97 MB / 282.7 MB