Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003604, allocations: 12 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08226, allocations: 44.5 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004215/0.08653, allocations: 2.636 MB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.08918, allocations: 1.166 MB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.08947, allocations: 11.94 kB / 312.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.08984, allocations: 95.5 kB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.09094, allocations: 318.9 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.09162, allocations: 203.4 kB / 312.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007843/0.09242, allocations: 319.2 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.09271, allocations: 111.4 kB / 313.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.09299, allocations: 147.4 kB / 313.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.09332, allocations: 167.3 kB / 313.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.09339, allocations: 23.98 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.09381, allocations: 107.9 kB / 313.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.0939, allocations: 63.69 kB / 313.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.09404, allocations: 93.52 kB / 313.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.09469, allocations: 379.2 kB / 314.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.429e-06/0.09471, allocations: 0 / 314.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.09473, allocations: 0 / 314.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.047e-06/0.09474, allocations: 0 / 314.2 MB, free: 11.19 MB / 266.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.001704/0.09646, allocations: 0.6863 MB / 314.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.09652, allocations: 12.03 kB / 314.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.09731, allocations: 91.47 kB / 314.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.09787, allocations: 303.3 kB / 315.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.09793, allocations: 28.94 kB / 315.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.09802, allocations: 32 kB / 315.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/0.09887, allocations: 353.3 kB / 315.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.09891, allocations: 0 / 315.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.09897, allocations: 19.94 kB / 315.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.099, allocations: 8 kB / 315.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.09971, allocations: 258 kB / 315.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.1026, allocations: 1.331 MB / 317.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.1032, allocations: 197.2 kB / 317.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.1045, allocations: 0.8713 MB / 318.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1045, allocations: 34.56 kB / 318.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.652e-06/0.1046, allocations: 0 / 318.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008162/0.1054, allocations: 237.3 kB / 318.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1055, allocations: 81.11 kB / 318.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.1059, allocations: 283 kB / 318.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.106, allocations: 29.7 kB / 319 MB, free: 6.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1062, allocations: 293.9 kB / 319.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.1063, allocations: 67.09 kB / 319.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.1064, allocations: 4 kB / 319.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1065, allocations: 322.8 kB / 319.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.1068, allocations: 68.62 kB / 319.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.1071, allocations: 202.4 kB / 319.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1074, allocations: 107.9 kB / 320 MB, free: 4.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1074, allocations: 0 / 320 MB, free: 4.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007837/0.1082, allocations: 309.1 kB / 320.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1083, allocations: 8.5 kB / 320.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1083, allocations: 8 kB / 320.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.1083, allocations: 15.89 kB / 320.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.1087, allocations: 79.89 kB / 320.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.1088, allocations: 8 kB / 320.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.1091, allocations: 43.59 kB / 320.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.1091, allocations: 12 kB / 320.5 MB, free: 4.41 MB / 266.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.0002367/0.1094, allocations: 165.6 kB / 320.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1095, allocations: 23.72 kB / 320.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.1096, allocations: 33.92 kB / 320.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.1096, allocations: 7.953 kB / 320.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1096, allocations: 4 kB / 320.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-06/0.1096, allocations: 0 / 320.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1107, allocations: 0.5108 MB / 321.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.801e-06/0.1107, allocations: 4 kB / 321.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.111, allocations: 43.97 kB / 321.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.111, allocations: 3.953 kB / 321.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1111, allocations: 7.938 kB / 321.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.634e-06/0.1111, allocations: 4 kB / 321.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-06/0.1111, allocations: 0 / 321.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.1119, allocations: 429.7 kB / 321.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.112, allocations: 104.8 kB / 321.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.1121, allocations: 16.02 kB / 321.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.1124, allocations: 11.98 kB / 321.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.1125, allocations: 15.98 kB / 321.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1125, allocations: 7.938 kB / 321.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.1128, allocations: 198 kB / 322.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.1128, allocations: 0 / 322.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000607/0.1135, allocations: 75.78 kB / 322.1 MB, free: 2.66 MB / 266.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.000183/0.1137, allocations: 111.2 kB / 322.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1143, allocations: 199.8 kB / 322.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.372e-06/0.1143, allocations: 0 / 322.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.1145, allocations: 83.78 kB / 322.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1149, allocations: 17.83 kB / 322.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1165, allocations: 0.8389 MB / 323.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.1171, allocations: 0.7872 MB / 324.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1172, allocations: 27.42 kB / 324.2 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of SimCode: time 1.777e-06/0.1172, allocations: 4 kB / 324.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of Templates: time 0.007693/0.1249, allocations: 3.297 MB / 327.5 MB, free: 13.23 MB / 282.7 MB "Error: Could not read variable converter_m.Phi.der(im) in file Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat. Warning: Get data of variable converter_m.Phi.der(im) from file Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat failed! " Variables in the reference:time,converter_m.Phi.re,inductor_e.i Variables in the result:L,R,R_m,VRMS,converter_m.N.im,converter_m.N.re,der(converter_m.Phi.re),converter_m.Phi.im,converter_m.Phi.re,converter_m.V_m.im,converter_m.V_m.re,converter_m.abs_Phi,converter_m.abs_V_m,converter_m.arg_Phi,converter_m.arg_V_m,converter_m.effectiveTurns,converter_m.i,converter_m.orientation,converter_m.pin_n.i,converter_m.pin_n.v,converter_m.pin_p.i,converter_m.pin_p.v,converter_m.port_n.Phi.im,converter_m.port_n.Phi.re,converter_m.port_n.V_m.im,converter_m.port_n.V_m.re,converter_m.port_p.Phi.im,converter_m.port_p.Phi.re,converter_m.port_p.V_m.im,converter_m.port_p.V_m.re,converter_m.v,effectiveTurns,f,groundM_m.port_p.Phi.im,groundM_m.port_p.Phi.re,groundM_m.port_p.V_m.im,groundM_m.port_p.V_m.re,ground_e.p.i,ground_e.p.v,ground_m.p.i,ground_m.p.v,inductor_e.L,der(inductor_e.i),inductor_e.i,inductor_e.n.i,inductor_e.n.v,inductor_e.p.i,inductor_e.p.v,inductor_e.v,reluctance_m.Phi.im,reluctance_m.Phi.re,reluctance_m.R_m.d,reluctance_m.R_m.q,reluctance_m.V_m.im,reluctance_m.V_m.re,reluctance_m.abs_Phi,reluctance_m.abs_V_m,reluctance_m.arg_Phi,reluctance_m.arg_V_m,reluctance_m.port_n.Phi.im,reluctance_m.port_n.Phi.re,reluctance_m.port_n.V_m.im,reluctance_m.port_n.V_m.re,reluctance_m.port_p.Phi.im,reluctance_m.port_p.Phi.re,reluctance_m.port_p.V_m.im,reluctance_m.port_p.V_m.re,resistor_e.LossPower,resistor_e.R,resistor_e.R_actual,resistor_e.T,resistor_e.T_heatPort,resistor_e.T_ref,resistor_e.alpha,resistor_e.i,resistor_e.n.i,resistor_e.n.v,resistor_e.p.i,resistor_e.p.v,resistor_e.v,resistor_m.LossPower,resistor_m.R,resistor_m.R_actual,resistor_m.T,resistor_m.T_heatPort,resistor_m.T_ref,resistor_m.alpha,resistor_m.i,resistor_m.n.i,resistor_m.n.v,resistor_m.p.i,resistor_m.p.v,resistor_m.v,time,voltageSource_e.V,voltageSource_e.freqHz,voltageSource_e.i,voltageSource_e.n.i,voltageSource_e.n.v,voltageSource_e.offset,voltageSource_e.p.i,voltageSource_e.p.v,voltageSource_e.phase,voltageSource_e.signalSource.amplitude,voltageSource_e.signalSource.freqHz,voltageSource_e.signalSource.offset,voltageSource_e.signalSource.phase,voltageSource_e.signalSource.startTime,voltageSource_e.signalSource.y,voltageSource_e.startTime,voltageSource_e.v,voltageSource_m.V,voltageSource_m.freqHz,voltageSource_m.i,voltageSource_m.n.i,voltageSource_m.n.v,voltageSource_m.offset,voltageSource_m.p.i,voltageSource_m.p.v,voltageSource_m.phase,voltageSource_m.signalSource.amplitude,voltageSource_m.signalSource.freqHz,voltageSource_m.signalSource.offset,voltageSource_m.signalSource.phase,voltageSource_m.signalSource.startTime,voltageSource_m.signalSource.y,voltageSource_m.startTime,voltageSource_m.v