Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 2.389/2.389, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 15.92 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 44.5 MB / 309 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5315, allocations: 76.87 MB / 385.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5318, allocations: 85.28 kB / 386 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.5678, allocations: 9.749 MB / 395.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5679, allocations: 0 / 395.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.5679, allocations: 7.219 kB / 395.8 MB, free: 14.38 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001619/0.5695, allocations: 0.6791 MB / 396.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5696, allocations: 11.38 kB / 396.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.5704, allocations: 90.58 kB / 396.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.571, allocations: 305.9 kB / 396.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.571, allocations: 24.84 kB / 396.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.5711, allocations: 32.22 kB / 396.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.572, allocations: 355.4 kB / 397.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.572, allocations: 0 / 397.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.5721, allocations: 18.44 kB / 397.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.5721, allocations: 7.656 kB / 397.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.5729, allocations: 254.9 kB / 397.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.5756, allocations: 1.333 MB / 398.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.5762, allocations: 200.6 kB / 399 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009478/0.5772, allocations: 0.8787 MB / 399.9 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5772, allocations: 34.5 kB / 399.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.5772, allocations: 0 / 399.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007803/0.578, allocations: 241.3 kB / 400.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5781, allocations: 80.98 kB / 400.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.5784, allocations: 278.4 kB / 400.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.5785, allocations: 29.45 kB / 400.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5786, allocations: 243.1 kB / 400.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.5787, allocations: 59.39 kB / 400.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5787, allocations: 11.56 kB / 400.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.5788, allocations: 334 kB / 401.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.579, allocations: 65.44 kB / 401.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.5794, allocations: 203.1 kB / 401.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.5797, allocations: 107.1 kB / 401.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5797, allocations: 0 / 401.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007776/0.5805, allocations: 314.4 kB / 401.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5805, allocations: 12.23 kB / 401.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5805, allocations: 3.906 kB / 401.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.5806, allocations: 11.66 kB / 401.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.5811, allocations: 80.28 kB / 402 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.5811, allocations: 9.047 kB / 402 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.5814, allocations: 44.23 kB / 402 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5815, allocations: 20.88 kB / 402 MB, free: 10.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.5817, allocations: 153.4 kB / 402.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.5818, allocations: 23.34 kB / 402.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.5819, allocations: 35.75 kB / 402.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5819, allocations: 3.75 kB / 402.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5819, allocations: 0 / 402.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.5819, allocations: 2.062 kB / 402.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.5829, allocations: 0.5209 MB / 402.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5829, allocations: 1.312 kB / 402.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.5833, allocations: 55.27 kB / 402.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/0.5833, allocations: 1.281 kB / 402.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.5834, allocations: 2.594 kB / 402.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5834, allocations: 5.297 kB / 402.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5834, allocations: 5.219 kB / 402.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.5842, allocations: 429.1 kB / 403.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.5843, allocations: 111.1 kB / 403.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.5844, allocations: 11.09 kB / 403.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5847, allocations: 14.86 kB / 403.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.5848, allocations: 12.95 kB / 403.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.5848, allocations: 3.844 kB / 403.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.5851, allocations: 194.4 kB / 403.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5851, allocations: 3.844 kB / 403.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005872/0.5857, allocations: 79.94 kB / 403.7 MB, free: 9.934 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/0.5859, allocations: 124.5 kB / 403.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.5865, allocations: 198.9 kB / 404 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5865, allocations: 1.125 kB / 404 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.5868, allocations: 77.36 kB / 404.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5872, allocations: 25.47 kB / 404.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5887, allocations: 0.8228 MB / 404.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.589, allocations: 0.783 MB / 405.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.5893, allocations: 29.11 kB / 405.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.5893, allocations: 25.25 kB / 405.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5894, allocations: 0 / 405.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of Templates: time 0.008245/0.5976, allocations: 2.17 MB / 407.9 MB, free: 7.711 MB / 314.7 MB