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.SimpleTriacCircuit.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 44.5 MB / 308.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4733, allocations: 75.95 MB / 384.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4737, allocations: 71.95 kB / 384.6 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04706/0.5207, allocations: 8.27 MB / 392.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5208, allocations: 0 / 392.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.5208, allocations: 8.375 kB / 392.9 MB, free: 8.109 MB / 330.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.003485/0.5243, allocations: 0.9066 MB / 393.8 MB, free: 7.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.5244, allocations: 12.03 kB / 393.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/0.5247, allocations: 78.45 kB / 393.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.5249, allocations: 63.25 kB / 393.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.5257, allocations: 369 kB / 394.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.5258, allocations: 29 kB / 394.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5259, allocations: 36 kB / 394.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.5284, allocations: 0.5939 MB / 394.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.5284, allocations: 0 / 394.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.5285, allocations: 23.97 kB / 395 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.5286, allocations: 8 kB / 395 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.5319, allocations: 0.644 MB / 395.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/0.5384, allocations: 2.039 MB / 397.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007913/0.5464, allocations: 0.96 MB / 398.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.875e-05/0.5466, allocations: 11.94 kB / 398.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/0.5486, allocations: 427.8 kB / 399 MB, free: 1.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.968e-06/0.5486, allocations: 0 / 399 MB, free: 1.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.01691/0.5655, allocations: 1.975 MB / 401 MB, free: 15.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.5657, allocations: 93.09 kB / 401.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.5664, allocations: 320.9 kB / 401.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5665, allocations: 33.7 kB / 401.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.5668, allocations: 228.6 kB / 401.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.567, allocations: 130.1 kB / 401.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.5671, allocations: 8 kB / 401.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.5673, allocations: 346.8 kB / 402.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.5695, allocations: 304.6 kB / 402.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.5714, allocations: 350.1 kB / 402.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.5731, allocations: 319.6 kB / 403.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.5732, allocations: 0 / 403.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004655/0.5778, allocations: 0.9285 MB / 404 MB, free: 12.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.77e-05/0.5779, allocations: 33.7 kB / 404.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.578, allocations: 0 / 404.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.5803, allocations: 418.7 kB / 404.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.5812, allocations: 99.86 kB / 404.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/0.5979, allocations: 3.594 MB / 408.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.5993, allocations: 107.8 kB / 408.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.5994, allocations: 12 kB / 408.3 MB, free: 8.191 MB / 346.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.0004251/0.5998, allocations: 173.8 kB / 408.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6, allocations: 43.44 kB / 408.5 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.6002, allocations: 60.41 kB / 408.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.6002, allocations: 7.984 kB / 408.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6002, allocations: 0 / 408.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6002, allocations: 0 / 408.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.6014, allocations: 0.5795 MB / 409.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6014, allocations: 4 kB / 409.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.6023, allocations: 83.94 kB / 409.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6046, allocations: 424.5 kB / 409.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.6047, allocations: 19.88 kB / 409.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.6235, allocations: 3.586 MB / 413.2 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6236, allocations: 4 kB / 413.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008806/0.6324, allocations: 1.282 MB / 414.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.633, allocations: 172.5 kB / 414.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.6332, allocations: 8 kB / 414.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.6348, allocations: 83.92 kB / 414.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.6351, allocations: 51.86 kB / 414.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.6352, allocations: 12 kB / 414.9 MB, free: 1.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006347/0.6359, allocations: 263.2 kB / 415.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6359, allocations: 0 / 415.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001363/0.6372, allocations: 167.8 kB / 415.3 MB, free: 0.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.3091/0.9464, allocations: 1.84 MB / 417.1 MB, free: 95.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004783/0.9512, allocations: 0.9383 MB / 418 MB, free: 95.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.9513, allocations: 0 / 418 MB, free: 95.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.9542, allocations: 0.574 MB / 418.6 MB, free: 95.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.9549, allocations: 71.34 kB / 418.7 MB, free: 95.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.9726, allocations: 4 MB / 422.7 MB, free: 94.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.973, allocations: 0.8449 MB / 423.5 MB, free: 93.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004322/0.9734, allocations: 37.7 kB / 423.6 MB, free: 93.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.9738, allocations: 145.8 kB / 423.7 MB, free: 93.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.9738, allocations: 0 / 423.7 MB, free: 93.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/1.022, allocations: 14.42 MB / 438.1 MB, free: 83.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.022, allocations: 222.5 kB / 438.4 MB, free: 83.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/4.443, allocations: 2.344 kB / 438.4 MB, free: 83.59 MB / 346.7 MB