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.SimpleTriacCircuit.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005527, allocations: 11.94 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.007746/0.114, allocations: 3.081 MB / 275.7 MB, free: 8.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.1177, allocations: 0.9827 MB / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004922/0.1182, allocations: 8 kB / 276.7 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1185, allocations: 59.52 kB / 276.8 MB, free: 7.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.1194, allocations: 183.5 kB / 276.9 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.1203, allocations: 131.7 kB / 277.1 MB, free: 7.082 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1216, allocations: 459.1 kB / 277.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.1221, allocations: 136.1 kB / 277.6 MB, free: 6.5 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.1228, allocations: 227.2 kB / 277.9 MB, free: 6.277 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.1236, allocations: 270.9 kB / 278.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.1238, allocations: 32 kB / 278.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.124, allocations: 32 kB / 278.2 MB, free: 5.949 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1242, allocations: 99.56 kB / 278.3 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.1245, allocations: 117.5 kB / 278.4 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.1257, allocations: 0.5845 MB / 279 MB, free: 5.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1257, allocations: 4 kB / 279 MB, free: 5.141 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1258, allocations: 7.938 kB / 279 MB, free: 5.133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1258, allocations: 0 / 279 MB, free: 5.133 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005824/0.1316, allocations: 0.9486 MB / 280 MB, free: 4.129 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.1317, allocations: 11.97 kB / 280 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.132, allocations: 55.34 kB / 280 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1331, allocations: 373 kB / 280.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.1332, allocations: 29 kB / 280.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.1334, allocations: 36 kB / 280.4 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003652/0.1371, allocations: 0.5942 MB / 281 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1371, allocations: 0 / 281 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.1373, allocations: 16 kB / 281.1 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.1374, allocations: 8 kB / 281.1 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.1425, allocations: 0.6441 MB / 281.7 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009059/0.1516, allocations: 2.043 MB / 283.8 MB, free: 172 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.1625, allocations: 0.9287 MB / 284.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1627, allocations: 7.984 kB / 284.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00309/0.1658, allocations: 431.8 kB / 285.1 MB, free: 14.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 5.871e-06/0.1658, allocations: 3.938 kB / 285.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.02708/0.1929, allocations: 2.033 MB / 287.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.1931, allocations: 89.06 kB / 287.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.194, allocations: 365.7 kB / 287.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.1942, allocations: 29.7 kB / 287.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.1946, allocations: 240.5 kB / 287.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.1949, allocations: 122.2 kB / 288 MB, free: 11.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.195, allocations: 8 kB / 288 MB, free: 11.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.1953, allocations: 350.8 kB / 288.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.1978, allocations: 304.6 kB / 288.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.2003, allocations: 346.1 kB / 289 MB, free: 10.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.2027, allocations: 327.5 kB / 289.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.2028, allocations: 0 / 289.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.01272/0.2155, allocations: 1.186 MB / 290.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.2157, allocations: 31.11 kB / 290.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2157, allocations: 3.938 kB / 290.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.2189, allocations: 428.4 kB / 290.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.2202, allocations: 95.92 kB / 291 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.2364, allocations: 3.619 MB / 294.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.2376, allocations: 103.7 kB / 294.7 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.2377, allocations: 12 kB / 294.7 MB, free: 4.895 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.2381, allocations: 166.3 kB / 294.9 MB, free: 4.723 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2382, allocations: 51.42 kB / 295 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.2384, allocations: 60.3 kB / 295 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2384, allocations: 0 / 295 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2384, allocations: 0 / 295 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.2387, allocations: 176.4 kB / 295.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.2389, allocations: 8 kB / 295.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.2399, allocations: 83.92 kB / 295.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2401, allocations: 35.94 kB / 295.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0081/0.2482, allocations: 1.244 MB / 296.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005268/0.2535, allocations: 1.211 MB / 297.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001662/0.2552, allocations: 315.8 kB / 298.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004775/0.2557, allocations: 259.2 kB / 298.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of Backend: time 6.51e-07/0.2557, allocations: 0 / 298.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.2592, allocations: 0.7193 MB / 299.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of SimCode: time 0.2766/0.5358, allocations: 1.554 MB / 300.6 MB, free: 30.68 MB / 250.7 MB Notification: Performance of Templates: time 0.02562/0.5615, allocations: 9.935 MB / 310.5 MB, free: 27.6 MB / 250.7 MB