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.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004686, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09318, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004063/0.0973, allocations: 2.356 MB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.09911, allocations: 0.7376 MB / 312.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.09932, allocations: 4 kB / 312.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.09943, allocations: 39.73 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.09979, allocations: 123.6 kB / 312.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1001, allocations: 59.88 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.1006, allocations: 271.3 kB / 312.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.101, allocations: 93.89 kB / 312.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.1018, allocations: 119.5 kB / 312.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.1025, allocations: 135.4 kB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.1026, allocations: 16 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1027, allocations: 16 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1029, allocations: 47.83 kB / 313.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1031, allocations: 89.52 kB / 313.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.1037, allocations: 319.4 kB / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1038, allocations: 0 / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.74e-06/0.1038, allocations: 0 / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1038, allocations: 7.938 kB / 313.5 MB, free: 11.92 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002478/0.1063, allocations: 0.5698 MB / 314 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.093e-05/0.1064, allocations: 12.03 kB / 314.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1066, allocations: 31.62 kB / 314.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.1073, allocations: 278.5 kB / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.1074, allocations: 20.55 kB / 314.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1075, allocations: 27.94 kB / 314.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1095, allocations: 288.5 kB / 314.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1095, allocations: 0 / 314.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.1096, allocations: 8 kB / 314.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.1097, allocations: 8 kB / 314.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1108, allocations: 210.1 kB / 314.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.1153, allocations: 1.164 MB / 316.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.117, allocations: 219.2 kB / 316.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.1171, allocations: 12.17 kB / 316.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.1178, allocations: 167.7 kB / 316.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 4.389e-06/0.1178, allocations: 0 / 316.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.003744/0.1215, allocations: 0.5136 MB / 317 MB, free: 8.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1217, allocations: 110.8 kB / 317.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.1226, allocations: 241 kB / 317.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.1228, allocations: 29.7 kB / 317.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.1232, allocations: 164.5 kB / 317.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.1235, allocations: 71 kB / 317.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1235, allocations: 8 kB / 317.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1238, allocations: 330.8 kB / 317.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.1242, allocations: 75.97 kB / 318 MB, free: 7.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.1247, allocations: 120.4 kB / 318.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.1251, allocations: 85.14 kB / 318.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1252, allocations: 4 kB / 318.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002133/0.1273, allocations: 300 kB / 318.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.1274, allocations: 4 kB / 318.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.1274, allocations: 7.953 kB / 318.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.1282, allocations: 84.8 kB / 318.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.1286, allocations: 31.92 kB / 318.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.1341, allocations: 1.956 MB / 320.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.1346, allocations: 31.86 kB / 320.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1346, allocations: 12.09 kB / 320.6 MB, free: 4.336 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.1349, allocations: 157.8 kB / 320.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.135, allocations: 23.72 kB / 320.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.1351, allocations: 38.11 kB / 320.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1351, allocations: 0 / 320.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1351, allocations: 0 / 320.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.1353, allocations: 120.8 kB / 320.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.1354, allocations: 8 kB / 320.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.1357, allocations: 23.98 kB / 321 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1358, allocations: 23.91 kB / 321 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001404/0.1372, allocations: 385.7 kB / 321.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001032/0.1383, allocations: 485.2 kB / 321.8 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002709/0.1386, allocations: 83.89 kB / 321.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.1388, allocations: 172.5 kB / 322.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of Backend: time 7.31e-07/0.1389, allocations: 0 / 322.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.14, allocations: 370.8 kB / 322.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of SimCode: time 0.001795/0.1418, allocations: 1.209 MB / 323.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Templates: time 0.0126/0.1544, allocations: 4.023 MB / 327.7 MB, free: 13.17 MB / 282.7 MB