Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004854, allocations: 15.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09077, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00368/0.0945, allocations: 2.256 MB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.09619, allocations: 0.718 MB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.0964, allocations: 8 kB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.09654, allocations: 59.53 kB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.0968, allocations: 87.78 kB / 312.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.09722, allocations: 91.78 kB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.09772, allocations: 288 kB / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.0981, allocations: 162.3 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.09835, allocations: 143.5 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.09865, allocations: 163.2 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.09873, allocations: 24 kB / 313 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.09884, allocations: 24 kB / 313.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.09893, allocations: 71.75 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.09906, allocations: 97.52 kB / 313.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.0996, allocations: 371.2 kB / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09961, allocations: 0 / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09963, allocations: 0 / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.09965, allocations: 4 kB / 313.6 MB, free: 11.8 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001436/0.1011, allocations: 0.6161 MB / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1012, allocations: 12.03 kB / 314.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1013, allocations: 47.48 kB / 314.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1017, allocations: 283 kB / 314.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.1018, allocations: 29 kB / 314.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1019, allocations: 44 kB / 314.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.103, allocations: 443.3 kB / 315 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.103, allocations: 0 / 315 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.1031, allocations: 20 kB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1031, allocations: 12 kB / 315.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.104, allocations: 283.9 kB / 315.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.107, allocations: 1.33 MB / 316.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.1077, allocations: 238.9 kB / 316.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1077, allocations: 4 kB / 316.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.1078, allocations: 42.45 kB / 317 MB, free: 8.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.226e-06/0.1078, allocations: 4 kB / 317 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002251/0.1101, allocations: 0.5433 MB / 317.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.1102, allocations: 243.3 kB / 317.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1105, allocations: 206.9 kB / 317.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.1106, allocations: 37.7 kB / 318 MB, free: 7.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1108, allocations: 204.2 kB / 318.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1109, allocations: 98.53 kB / 318.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.1109, allocations: 8 kB / 318.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1111, allocations: 334.8 kB / 318.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1114, allocations: 79.97 kB / 318.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.1117, allocations: 159.7 kB / 318.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.1121, allocations: 108.1 kB / 318.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1121, allocations: 3.938 kB / 319 MB, free: 6.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007716/0.1129, allocations: 285 kB / 319.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1129, allocations: 10.34 kB / 319.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1129, allocations: 0 / 319.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.113, allocations: 0 / 319.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.1136, allocations: 83.83 kB / 319.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1136, allocations: 4 kB / 319.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.1139, allocations: 35.67 kB / 319.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.114, allocations: 12.03 kB / 319.4 MB, free: 5.641 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002219/0.1142, allocations: 149.8 kB / 319.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.1143, allocations: 31.67 kB / 319.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/0.1144, allocations: 34.64 kB / 319.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1144, allocations: 0 / 319.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1144, allocations: 4 kB / 319.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1146, allocations: 104.8 kB / 319.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.1146, allocations: 4 kB / 319.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1149, allocations: 19.94 kB / 319.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.115, allocations: 27.95 kB / 319.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001674/0.1167, allocations: 441.7 kB / 320.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001085/0.1178, allocations: 0.5379 MB / 320.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002768/0.1181, allocations: 92.45 kB / 320.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.1183, allocations: 148.6 kB / 320.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of Backend: time 6.51e-07/0.1183, allocations: 0 / 320.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.119, allocations: 218.3 kB / 321.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of SimCode: time 0.002336/0.1214, allocations: 1.551 MB / 322.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of Templates: time 0.00937/0.1308, allocations: 2.66 MB / 325.4 MB, free: 15.53 MB / 282.7 MB