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 1.894/1.894, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09098, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004363/0.09539, allocations: 2.629 MB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.09797, allocations: 1.166 MB / 312.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.09818, allocations: 12 kB / 312.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.09856, allocations: 99.42 kB / 313 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009958/0.09957, allocations: 307 kB / 313.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.1002, allocations: 211.4 kB / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.1009, allocations: 327.1 kB / 313.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1012, allocations: 115.4 kB / 313.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1014, allocations: 135.5 kB / 314 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.1017, allocations: 171.3 kB / 314.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.1018, allocations: 20 kB / 314.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1022, allocations: 111.8 kB / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.1023, allocations: 59.75 kB / 314.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1024, allocations: 93.52 kB / 314.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.103, allocations: 387.2 kB / 314.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.103, allocations: 0 / 314.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.103, allocations: 4 kB / 314.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1031, allocations: 0 / 314.9 MB, free: 10.52 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.001846/0.1049, allocations: 0.6824 MB / 315.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.105, allocations: 8.031 kB / 315.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000872/0.1058, allocations: 91.47 kB / 315.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1064, allocations: 303.3 kB / 315.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1064, allocations: 21 kB / 316 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.1065, allocations: 36 kB / 316 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.1074, allocations: 353.3 kB / 316.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1075, allocations: 3.938 kB / 316.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.1075, allocations: 16 kB / 316.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1075, allocations: 8 kB / 316.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.1084, allocations: 256.4 kB / 316.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.1113, allocations: 1.331 MB / 318 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.1119, allocations: 201.1 kB / 318.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.113, allocations: 0.8635 MB / 319 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.113, allocations: 38.56 kB / 319.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.113, allocations: 4 kB / 319.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000846/0.1139, allocations: 233.3 kB / 319.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.114, allocations: 81.11 kB / 319.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.1144, allocations: 287 kB / 319.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1144, allocations: 25.7 kB / 319.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1146, allocations: 239.4 kB / 319.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.1147, allocations: 67.03 kB / 320 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.1147, allocations: 4 kB / 320 MB, free: 5.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1149, allocations: 338.8 kB / 320.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1152, allocations: 68.61 kB / 320.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.1155, allocations: 202.4 kB / 320.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1159, allocations: 103.9 kB / 320.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1159, allocations: 3.938 kB / 320.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000846/0.1168, allocations: 313.5 kB / 321 MB, free: 3.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1168, allocations: 12 kB / 321 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1168, allocations: 4 kB / 321 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.1169, allocations: 11.95 kB / 321 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.1174, allocations: 79.89 kB / 321.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1174, allocations: 11.94 kB / 321.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.1178, allocations: 39.58 kB / 321.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.1178, allocations: 20 kB / 321.2 MB, free: 3.785 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.0002033/0.118, allocations: 161.7 kB / 321.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1181, allocations: 23.72 kB / 321.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.1182, allocations: 29.73 kB / 321.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1182, allocations: 0 / 321.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1183, allocations: 3.953 kB / 321.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.1184, allocations: 104.8 kB / 321.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.1184, allocations: 7.938 kB / 321.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.1188, allocations: 19.98 kB / 321.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1188, allocations: 11.98 kB / 321.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008749/0.1197, allocations: 352.6 kB / 321.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008856/0.1206, allocations: 0.4975 MB / 322.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002345/0.1209, allocations: 75.97 kB / 322.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1212, allocations: 198 kB / 322.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of Backend: time 9.41e-07/0.1212, allocations: 0 / 322.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.1221, allocations: 278.2 kB / 322.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of SimCode: time 0.001743/0.1239, allocations: 1.247 MB / 324.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of Templates: time 0.01089/0.1348, allocations: 3.161 MB / 327.3 MB, free: 13.54 MB / 282.7 MB