Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004715, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004368/0.1114, allocations: 2.251 MB / 274.9 MB, free: 9.273 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.113, allocations: 0.7135 MB / 275.6 MB, free: 8.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1132, allocations: 8 kB / 275.6 MB, free: 8.547 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1133, allocations: 43.66 kB / 275.6 MB, free: 8.504 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1136, allocations: 95.66 kB / 275.7 MB, free: 8.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.114, allocations: 87.91 kB / 275.8 MB, free: 8.324 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1145, allocations: 295.9 kB / 276.1 MB, free: 8.031 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.1149, allocations: 170.1 kB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1152, allocations: 135.6 kB / 276.4 MB, free: 7.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1155, allocations: 175.2 kB / 276.6 MB, free: 7.559 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.1156, allocations: 24 kB / 276.6 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1157, allocations: 24 kB / 276.6 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.1158, allocations: 63.77 kB / 276.7 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1159, allocations: 97.52 kB / 276.8 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.1164, allocations: 375.1 kB / 277.2 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1164, allocations: 0 / 277.2 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1164, allocations: 4 kB / 277.2 MB, free: 6.977 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1165, allocations: 0 / 277.2 MB, free: 6.977 MB / 234.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.001433/0.1179, allocations: 0.6316 MB / 277.8 MB, free: 6.297 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.118, allocations: 12.03 kB / 277.8 MB, free: 6.285 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1181, allocations: 39.53 kB / 277.8 MB, free: 6.246 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.1185, allocations: 274.4 kB / 278.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.1186, allocations: 29 kB / 278.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1187, allocations: 47.91 kB / 278.2 MB, free: 5.859 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1198, allocations: 447.2 kB / 278.6 MB, free: 5.395 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.1198, allocations: 4 kB / 278.6 MB, free: 5.391 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.1199, allocations: 16 kB / 278.6 MB, free: 5.375 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.1199, allocations: 12 kB / 278.6 MB, free: 5.363 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1209, allocations: 279.9 kB / 278.9 MB, free: 5.086 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.1249, allocations: 1.322 MB / 280.2 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.1259, allocations: 250.3 kB / 280.5 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.126, allocations: 11.97 kB / 280.5 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.126, allocations: 38.5 kB / 280.5 MB, free: 3.363 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 4.198e-06/0.126, allocations: 0 / 280.5 MB, free: 3.363 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.003036/0.1291, allocations: 0.558 MB / 281.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.1293, allocations: 239.3 kB / 281.3 MB, free: 2.488 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.1297, allocations: 207 kB / 281.5 MB, free: 2.277 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.1298, allocations: 33.64 kB / 281.6 MB, free: 2.238 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.13, allocations: 200.2 kB / 281.8 MB, free: 2.035 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.1302, allocations: 106.5 kB / 281.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1302, allocations: 4 kB / 281.9 MB, free: 1.926 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1304, allocations: 338.8 kB / 282.2 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.1309, allocations: 79.95 kB / 282.3 MB, free: 1.508 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.1314, allocations: 155.4 kB / 282.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.1319, allocations: 103.7 kB / 282.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.132, allocations: 4 kB / 282.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001194/0.1332, allocations: 277.5 kB / 282.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.1332, allocations: 5.094 kB / 282.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1333, allocations: 8.016 kB / 282.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1333, allocations: 4 kB / 282.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.1343, allocations: 91.78 kB / 282.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1343, allocations: 0 / 282.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.1348, allocations: 31.69 kB / 282.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.1349, allocations: 12 kB / 283 MB, free: 0.7969 MB / 234.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.0003435/0.1352, allocations: 149.8 kB / 283.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1354, allocations: 23.72 kB / 283.1 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1355, allocations: 34.66 kB / 283.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.1355, allocations: 3.984 kB / 283.2 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1356, allocations: 0 / 283.2 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1358, allocations: 128.7 kB / 283.3 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1359, allocations: 11.94 kB / 283.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.1364, allocations: 8 kB / 283.3 MB, free: 428 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1365, allocations: 23.95 kB / 283.3 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02191/0.1585, allocations: 446.5 kB / 283.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00274/0.1612, allocations: 0.5459 MB / 284.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003921/0.1617, allocations: 95.95 kB / 284.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.162, allocations: 152.2 kB / 284.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of Backend: time 1.122e-06/0.162, allocations: 0 / 284.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.163, allocations: 226 kB / 284.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of SimCode: time 0.003181/0.1662, allocations: 1.555 MB / 286.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of Templates: time 0.03782/0.2041, allocations: 2.654 MB / 289 MB, free: 10.65 MB / 250.7 MB