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.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 12 kB / 233.9 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.08505, allocations: 38.77 MB / 272.6 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.0042/0.08931, allocations: 2.34 MB / 275 MB, free: 7.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.09118, allocations: 0.7408 MB / 275.7 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.09143, allocations: 4 kB / 275.7 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.09154, allocations: 35.69 kB / 275.8 MB, free: 6.293 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.09193, allocations: 119.7 kB / 275.9 MB, free: 6.176 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.09228, allocations: 63.86 kB / 275.9 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.09277, allocations: 267.4 kB / 276.2 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.09306, allocations: 109.8 kB / 276.3 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.09331, allocations: 119.6 kB / 276.4 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.09358, allocations: 131.4 kB / 276.6 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.09365, allocations: 16 kB / 276.6 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.09374, allocations: 16 kB / 276.6 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.09382, allocations: 51.77 kB / 276.6 MB, free: 5.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.09394, allocations: 85.52 kB / 276.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.09443, allocations: 319.4 kB / 277 MB, free: 5.016 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09445, allocations: 4 kB / 277 MB, free: 5.012 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09446, allocations: 4 kB / 277 MB, free: 5.008 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09448, allocations: 0 / 277 MB, free: 5.008 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001344/0.09583, allocations: 0.5699 MB / 277.6 MB, free: 4.391 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.09589, allocations: 8.031 kB / 277.6 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.09601, allocations: 39.53 kB / 277.7 MB, free: 4.344 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.09648, allocations: 272.2 kB / 277.9 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.09653, allocations: 24.52 kB / 277.9 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.09662, allocations: 24 kB / 278 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.0974, allocations: 288.5 kB / 278.2 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.09743, allocations: 0 / 278.2 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.09749, allocations: 12 kB / 278.3 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.09751, allocations: 7.938 kB / 278.3 MB, free: 3.668 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.09819, allocations: 210.1 kB / 278.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1009, allocations: 1.168 MB / 279.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.1017, allocations: 211.2 kB / 279.8 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1017, allocations: 4.188 kB / 279.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.1022, allocations: 172.1 kB / 280 MB, free: 1.809 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 2.756e-06/0.1022, allocations: 0 / 280 MB, free: 1.809 MB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.002232/0.1045, allocations: 0.5146 MB / 280.5 MB, free: 1.266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.1046, allocations: 114.8 kB / 280.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1049, allocations: 236.9 kB / 280.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.105, allocations: 33.7 kB / 280.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1052, allocations: 172.3 kB / 281.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.1053, allocations: 70.98 kB / 281.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.1053, allocations: 8 kB / 281.2 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1055, allocations: 330.8 kB / 281.5 MB, free: 268 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.1058, allocations: 79.97 kB / 281.6 MB, free: 188 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.1061, allocations: 138.2 kB / 281.7 MB, free: 28 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2894/0.3956, allocations: 86.48 kB / 281.8 MB, free: 15.46 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3956, allocations: 0 / 281.8 MB, free: 15.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009567/0.3966, allocations: 312.9 kB / 282.1 MB, free: 15.42 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3966, allocations: 5.625 kB / 282.1 MB, free: 15.42 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3966, allocations: 2.156 kB / 282.1 MB, free: 15.42 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.3972, allocations: 87.25 kB / 282.2 MB, free: 15.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.3975, allocations: 35.45 kB / 282.2 MB, free: 15.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.4006, allocations: 1.956 MB / 284.2 MB, free: 14.08 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.4011, allocations: 34.81 kB / 284.2 MB, free: 14.08 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.4011, allocations: 10.2 kB / 284.2 MB, free: 14.08 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 20 * 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.0002207/0.4013, allocations: 150.6 kB / 284.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.4014, allocations: 27.2 kB / 284.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.4015, allocations: 35.94 kB / 284.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4015, allocations: 1.266 kB / 284.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4015, allocations: 1.625 kB / 284.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4017, allocations: 121.2 kB / 284.5 MB, free: 13.85 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.4018, allocations: 6.359 kB / 284.5 MB, free: 13.85 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.4021, allocations: 25.7 kB / 284.6 MB, free: 13.84 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4022, allocations: 25.28 kB / 284.6 MB, free: 13.84 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.4035, allocations: 390 kB / 285 MB, free: 13.65 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008948/0.4044, allocations: 480.3 kB / 285.4 MB, free: 13.34 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002524/0.4047, allocations: 80.69 kB / 285.5 MB, free: 13.31 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.4049, allocations: 172.7 kB / 285.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of Backend: time 6.21e-07/0.405, allocations: 1.594 kB / 285.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.406, allocations: 380.1 kB / 286.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of SimCode: time 0.001631/0.4077, allocations: 1.205 MB / 287.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of Templates: time 0.01768/0.4254, allocations: 3.928 MB / 291.2 MB, free: 11.68 MB / 234.7 MB