Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09176, allocations: 44.49 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01313/0.1049, allocations: 8.168 MB / 317.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.1119, allocations: 2.517 MB / 319.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1132, allocations: 51.88 kB / 319.8 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1149, allocations: 421.7 kB / 320.2 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003979/0.1189, allocations: 0.9192 MB / 321.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.1215, allocations: 0.639 MB / 321.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00587/0.1274, allocations: 2.604 MB / 324.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01994/0.1474, allocations: 8.08 MB / 332.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.1504, allocations: 1.44 MB / 333.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004407/0.1549, allocations: 1.755 MB / 335.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.1565, allocations: 252 kB / 335.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.1599, allocations: 419.8 kB / 336.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002249/0.1623, allocations: 0.7163 MB / 337 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.1646, allocations: 0.8239 MB / 337.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.1793, allocations: 6.802 MB / 344.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1794, allocations: 0 / 344.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1794, allocations: 0 / 344.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.1796, allocations: 0 / 344.6 MB, free: 12.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.0264/0.206, allocations: 4.273 MB / 348.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.2061, allocations: 8.031 kB / 348.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02462/0.2308, allocations: 2.574 MB / 351.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.2372, allocations: 2.135 MB / 353.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/0.2377, allocations: 341 kB / 354 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/0.2396, allocations: 443.9 kB / 354.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.2598, allocations: 6.048 MB / 360.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.26, allocations: 4 kB / 360.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008621/0.2608, allocations: 187.9 kB / 360.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003305/0.2612, allocations: 225.2 kB / 360.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.2805, allocations: 5.763 MB / 366.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3266/0.6072, allocations: 21.47 MB / 388.1 MB, free: 46.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.6192, allocations: 8.968 MB / 397.1 MB, free: 37.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007855/0.6271, allocations: 3.864 MB / 400.9 MB, free: 34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6271, allocations: 34.75 kB / 401 MB, free: 33.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.257e-06/0.6272, allocations: 0 / 401 MB, free: 33.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001374/0.6285, allocations: 0.9102 MB / 401.9 MB, free: 33.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.6286, allocations: 57.78 kB / 401.9 MB, free: 33.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.6321, allocations: 2.072 MB / 404 MB, free: 32.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.6322, allocations: 25.7 kB / 404 MB, free: 32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.6334, allocations: 2.202 MB / 406.2 MB, free: 30.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.6335, allocations: 139.9 kB / 406.4 MB, free: 29.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.6337, allocations: 51.59 kB / 406.4 MB, free: 29.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.6339, allocations: 454.3 kB / 406.8 MB, free: 29.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.6358, allocations: 0.9131 MB / 407.8 MB, free: 29.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.6383, allocations: 2.277 MB / 410 MB, free: 26.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.641, allocations: 1.441 MB / 411.5 MB, free: 25.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/0.6411, allocations: 15.88 kB / 411.5 MB, free: 25.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006288/0.6474, allocations: 3.205 MB / 414.7 MB, free: 24.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.6474, allocations: 25.75 kB / 414.7 MB, free: 24.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-05/0.6475, allocations: 47.06 kB / 414.8 MB, free: 24.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.682e-05/0.6476, allocations: 71.47 kB / 414.8 MB, free: 24.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/0.6508, allocations: 0.5949 MB / 415.4 MB, free: 24.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.542e-05/0.6509, allocations: 95.97 kB / 415.5 MB, free: 24.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.6538, allocations: 424.5 kB / 415.9 MB, free: 23.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.6541, allocations: 144 kB / 416.1 MB, free: 23.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002753/0.6568, allocations: 1.562 MB / 417.6 MB, free: 21.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.6571, allocations: 134.3 kB / 417.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.6582, allocations: 0.5591 MB / 418.3 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6582, allocations: 4 kB / 418.3 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6583, allocations: 0 / 418.3 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.6588, allocations: 283.2 kB / 418.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.6591, allocations: 11.92 kB / 418.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.66, allocations: 35.95 kB / 418.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.6601, allocations: 15.98 kB / 418.7 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007055/0.6608, allocations: 386 kB / 419.1 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001067/0.6619, allocations: 0.7633 MB / 419.8 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000239/0.6621, allocations: 136.8 kB / 420 MB, free: 19.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002459/0.6646, allocations: 1.379 MB / 421.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of Backend: time 6.21e-07/0.6646, allocations: 0 / 421.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00375/0.6684, allocations: 1.734 MB / 423.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of SimCode: time 0.01366/0.682, allocations: 7.73 MB / 430.8 MB, free: 8.645 MB / 314.7 MB Notification: Performance of Templates: time 0.06543/0.7475, allocations: 21.48 MB / 452.3 MB, free: 3.207 MB / 330.7 MB