Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08265, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4341, allocations: 77.96 MB / 386.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4344, allocations: 75.92 kB / 386.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07363/0.508, allocations: 21.14 MB / 407.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5081, allocations: 0 / 407.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.768e-05/0.5082, allocations: 39.03 kB / 407.7 MB, free: 14.85 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.003418/0.5116, allocations: 1.524 MB / 409.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5117, allocations: 7.75 kB / 409.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.5124, allocations: 174.7 kB / 409.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.5145, allocations: 0.928 MB / 410.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.5146, allocations: 106.5 kB / 410.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003611/0.515, allocations: 136.1 kB / 410.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/0.5191, allocations: 1.835 MB / 412.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.5192, allocations: 0 / 412.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.5194, allocations: 57.16 kB / 412.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.5195, allocations: 38.89 kB / 412.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.5228, allocations: 1.375 MB / 413.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009903/0.5328, allocations: 5.006 MB / 418.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.5338, allocations: 0.9776 MB / 419.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.5339, allocations: 4.562 kB / 419.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5339, allocations: 42.03 kB / 419.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.432e-06/0.5339, allocations: 0 / 419.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003721/0.5377, allocations: 1.829 MB / 421.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.5377, allocations: 59.19 kB / 421.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.5387, allocations: 0.6075 MB / 422.4 MB, free: 8.637 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.5388, allocations: 36.67 kB / 422.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.5391, allocations: 0.6393 MB / 423 MB, free: 8.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5393, allocations: 150.9 kB / 423.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.5393, allocations: 7.188 kB / 423.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.5394, allocations: 341.5 kB / 423.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.54, allocations: 281.8 kB / 423.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.5407, allocations: 415.3 kB / 424.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.5414, allocations: 352.2 kB / 424.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-06/0.5414, allocations: 0 / 424.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001631/0.5431, allocations: 0.8172 MB / 425.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5431, allocations: 7.938 kB / 425.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5431, allocations: 7.75 kB / 425.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.5434, allocations: 78.38 kB / 425.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.5441, allocations: 120.8 kB / 425.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.5461, allocations: 1.94 MB / 427.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.5468, allocations: 27.11 kB / 427.5 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.5469, allocations: 26.92 kB / 427.6 MB, free: 5.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009469/0.5479, allocations: 0.4995 MB / 428.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5481, allocations: 61.38 kB / 428.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.5483, allocations: 80.44 kB / 428.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.05e-06/0.5483, allocations: 3.281 kB / 428.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-06/0.5483, allocations: 0 / 428.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-06/0.5483, allocations: 3.984 kB / 428.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.5524, allocations: 1.962 MB / 430.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.013e-06/0.5525, allocations: 4.062 kB / 430.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.5529, allocations: 75.45 kB / 430.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.5532, allocations: 82.66 kB / 430.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.5533, allocations: 15.61 kB / 430.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.5553, allocations: 1.915 MB / 432.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5553, allocations: 7.828 kB / 432.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.5574, allocations: 1.112 MB / 433.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.5579, allocations: 196.3 kB / 433.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.558, allocations: 15.17 kB / 433.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.5585, allocations: 38.41 kB / 433.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5586, allocations: 39.91 kB / 433.7 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.5587, allocations: 10.38 kB / 433.7 MB, free: 2.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007467/0.5594, allocations: 487.1 kB / 434.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.5595, allocations: 0 / 434.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001099/0.5606, allocations: 199.2 kB / 434.3 MB, free: 2.051 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.5608, allocations: 129.5 kB / 434.5 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.5622, allocations: 0.7634 MB / 435.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5623, allocations: 0 / 435.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.5631, allocations: 449 kB / 435.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5642, allocations: 151.5 kB / 435.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.5691, allocations: 2.77 MB / 438.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.5706, allocations: 1.42 MB / 440 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.5709, allocations: 45.94 kB / 440 MB, free: 14.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.618e-06/0.5709, allocations: 0 / 440 MB, free: 14.19 MB / 330.7 MB Notification: Performance of Templates: time 0.03379/0.6047, allocations: 19.01 MB / 459.1 MB, free: 12.25 MB / 346.7 MB