Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SwitchWithArc.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08485, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.005524/0.09044, allocations: 2.297 MB / 274.9 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.09306, allocations: 0.733 MB / 275.7 MB, free: 8.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.09332, allocations: 8 kB / 275.7 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.09347, allocations: 39.67 kB / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.09397, allocations: 99.7 kB / 275.8 MB, free: 8.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.09456, allocations: 83.84 kB / 275.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.09526, allocations: 251.5 kB / 276.1 MB, free: 8.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.09563, allocations: 90.31 kB / 276.2 MB, free: 7.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.09593, allocations: 119.6 kB / 276.3 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.09629, allocations: 127.4 kB / 276.5 MB, free: 7.688 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.09639, allocations: 20 kB / 276.5 MB, free: 7.668 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.09652, allocations: 16 kB / 276.5 MB, free: 7.652 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.09664, allocations: 47.83 kB / 276.5 MB, free: 7.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.09682, allocations: 85.52 kB / 276.6 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.09736, allocations: 251.5 kB / 276.9 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09739, allocations: 4 kB / 276.9 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09741, allocations: 0 / 276.9 MB, free: 7.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.09743, allocations: 0 / 276.9 MB, free: 7.266 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001853/0.0993, allocations: 0.5664 MB / 277.4 MB, free: 6.652 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.09938, allocations: 8.031 kB / 277.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.09956, allocations: 35.62 kB / 277.5 MB, free: 6.609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.1002, allocations: 263.1 kB / 277.7 MB, free: 6.312 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.1003, allocations: 83.98 kB / 277.8 MB, free: 6.219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1005, allocations: 28 kB / 277.9 MB, free: 6.191 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1016, allocations: 289.8 kB / 278.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1016, allocations: 3.938 kB / 278.1 MB, free: 5.883 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.1017, allocations: 16 kB / 278.2 MB, free: 5.867 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1018, allocations: 11.98 kB / 278.2 MB, free: 5.855 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.1027, allocations: 182.1 kB / 278.3 MB, free: 5.68 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.1059, allocations: 1.147 MB / 279.5 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.1064, allocations: 155 kB / 279.6 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.1065, allocations: 3.953 kB / 279.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.1069, allocations: 166.9 kB / 279.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 3.477e-06/0.1069, allocations: 0 / 279.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.0017/0.1086, allocations: 392.3 kB / 280.2 MB, free: 3.695 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.1088, allocations: 110.8 kB / 280.3 MB, free: 3.562 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1091, allocations: 221 kB / 280.5 MB, free: 3.34 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1092, allocations: 33.7 kB / 280.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1094, allocations: 176.1 kB / 280.7 MB, free: 3.125 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.1095, allocations: 75 kB / 280.8 MB, free: 3.051 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1095, allocations: 8 kB / 280.8 MB, free: 3.043 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1097, allocations: 334.8 kB / 281.1 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.1099, allocations: 67.97 kB / 281.2 MB, free: 2.641 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1102, allocations: 140.6 kB / 281.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1105, allocations: 73.2 kB / 281.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1105, allocations: 3.938 kB / 281.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007582/0.1113, allocations: 276.1 kB / 281.7 MB, free: 2.121 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1113, allocations: 4 kB / 281.7 MB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1113, allocations: 4 kB / 281.7 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.1117, allocations: 56.81 kB / 281.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1121, allocations: 52.02 kB / 281.8 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.1141, allocations: 1.416 MB / 283.2 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.1146, allocations: 43.67 kB / 283.2 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1146, allocations: 8 kB / 283.3 MB, free: 412 kB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.switch2.off,switch2.off,$PRE.switch2.tSwitch,switch2.tSwitch,$PRE.switch2.quenched,switch2.quenched) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.1149, allocations: 153.9 kB / 283.4 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1149, allocations: 27.7 kB / 283.4 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.115, allocations: 22.19 kB / 283.5 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.115, allocations: 3.984 kB / 283.5 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.115, allocations: 0 / 283.5 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1152, allocations: 116.7 kB / 283.6 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.1153, allocations: 7.984 kB / 283.6 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.1156, allocations: 23.94 kB / 283.6 MB, free: 28 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.1157, allocations: 23.97 kB / 283.6 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009624/0.1167, allocations: 280.5 kB / 283.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007837/0.1175, allocations: 430.3 kB / 284.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002014/0.1177, allocations: 75.02 kB / 284.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1179, allocations: 160.5 kB / 284.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of Backend: time 6.51e-07/0.1179, allocations: 0 / 284.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009353/0.1189, allocations: 314.3 kB / 284.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of SimCode: time 0.001815/0.1207, allocations: 1.15 MB / 286 MB, free: 13.53 MB / 250.7 MB Notification: Performance of Templates: time 0.009852/0.1306, allocations: 2.739 MB / 288.7 MB, free: 10.8 MB / 250.7 MB