Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma|voltageSource.voltageSource.2..pin_p.reference.gamma|voltageSource.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.07998, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01387/0.09391, allocations: 8.196 MB / 280.8 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.1, allocations: 2.193 MB / 283 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.1012, allocations: 59.88 kB / 283.1 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.1026, allocations: 441.5 kB / 283.5 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1041, allocations: 390.9 kB / 283.9 MB, free: 232 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.1072, allocations: 0.8687 MB / 284.8 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009131/0.1163, allocations: 2.76 MB / 287.5 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03816/0.1545, allocations: 10.36 MB / 297.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/0.1593, allocations: 1.557 MB / 299.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2825/0.4419, allocations: 1.797 MB / 301.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.4437, allocations: 288.8 kB / 301.5 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.447, allocations: 409.8 kB / 301.9 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.4491, allocations: 0.7066 MB / 302.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.4514, allocations: 0.9129 MB / 303.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.4643, allocations: 7.829 MB / 311.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4644, allocations: 1.438 kB / 311.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4644, allocations: 0 / 311.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002521/0.4647, allocations: 0 / 311.4 MB, free: 12.6 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01882/0.4835, allocations: 4.587 MB / 316 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4836, allocations: 7.875 kB / 316 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.4863, allocations: 467.2 kB / 316.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.493, allocations: 2.291 MB / 318.7 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.4935, allocations: 359 kB / 319.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/0.4952, allocations: 487.4 kB / 319.5 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.517, allocations: 6.587 MB / 326.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.5173, allocations: 3.906 kB / 326.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/0.5188, allocations: 195.7 kB / 326.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.5189, allocations: 119.9 kB / 326.4 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.5335, allocations: 4.954 MB / 331.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/0.5855, allocations: 21.7 MB / 353.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5868, allocations: 449.1 kB / 353.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.5869, allocations: 14.19 kB / 353.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.5869, allocations: 42.11 kB / 353.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.707e-06/0.5869, allocations: 0 / 353.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001898/0.5889, allocations: 0.7399 MB / 354.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.589, allocations: 106.8 kB / 354.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.5925, allocations: 1.538 MB / 356 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.5926, allocations: 36.55 kB / 356 MB, free: 10.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002128/0.5948, allocations: 2.09 MB / 358.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.5951, allocations: 144.9 kB / 358.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.5952, allocations: 36 kB / 358.3 MB, free: 8.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003895/0.5956, allocations: 439 kB / 358.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.5973, allocations: 0.6359 MB / 359.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.6, allocations: 1.788 MB / 361.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.6026, allocations: 1.116 MB / 362.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/0.6027, allocations: 15.95 kB / 362.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006277/0.609, allocations: 2.374 MB / 364.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/0.6091, allocations: 20 kB / 364.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-05/0.6092, allocations: 44.09 kB / 364.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-05/0.6093, allocations: 64 kB / 364.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.612, allocations: 442.8 kB / 365.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.6121, allocations: 84.08 kB / 365.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.6142, allocations: 253.4 kB / 365.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.6145, allocations: 112 kB / 365.6 MB, free: 440 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 188 * 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 (232): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004401/0.619, allocations: 1.75 MB / 367.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/0.6194, allocations: 114.5 kB / 367.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.621, allocations: 0.5502 MB / 368 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.621, allocations: 3.984 kB / 368 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.621, allocations: 0 / 368 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.6217, allocations: 223.5 kB / 368.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.622, allocations: 12 kB / 368.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6227, allocations: 27.98 kB / 368.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.6228, allocations: 17.94 kB / 368.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001731/0.6245, allocations: 0.7335 MB / 369.1 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002065/0.6266, allocations: 1.137 MB / 370.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004654/0.6271, allocations: 209.9 kB / 370.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002567/0.6297, allocations: 1.032 MB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Backend: time 1.022e-06/0.6298, allocations: 0 / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.6337, allocations: 1.274 MB / 372.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of SimCode: time 0.02094/0.6547, allocations: 8.345 MB / 381 MB, free: 1.07 MB / 298.7 MB Notification: Performance of Templates: time 0.0609/0.7156, allocations: 17.06 MB / 398.1 MB, free: 128 kB / 314.7 MB