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.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000755/0.0007551, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09439, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01426/0.1087, allocations: 8.529 MB / 317.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.1162, allocations: 2.567 MB / 320.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.1182, allocations: 59.81 kB / 320.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.1209, allocations: 461.4 kB / 320.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.1265, allocations: 0.888 MB / 321.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.1304, allocations: 0.6429 MB / 322.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008039/0.1385, allocations: 2.858 MB / 325.1 MB, free: 300 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03063/0.1691, allocations: 9.188 MB / 334.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.1734, allocations: 1.592 MB / 335.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005589/0.179, allocations: 1.895 MB / 337.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.1803, allocations: 280 kB / 338 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.1828, allocations: 439.8 kB / 338.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.1841, allocations: 0.7747 MB / 339.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.186, allocations: 0.9097 MB / 340.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.2004, allocations: 7.612 MB / 347.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2005, allocations: 0 / 347.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2005, allocations: 0 / 347.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.2007, allocations: 0 / 347.7 MB, free: 9.496 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01798/0.2187, allocations: 4.594 MB / 352.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.2188, allocations: 12.03 kB / 352.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/0.2399, allocations: 2.394 MB / 354.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.2469, allocations: 2.345 MB / 357.1 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/0.2475, allocations: 365.9 kB / 357.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.2494, allocations: 479.9 kB / 357.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.2715, allocations: 6.581 MB / 364.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.2717, allocations: 0 / 364.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/0.2731, allocations: 207.9 kB / 364.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/0.2735, allocations: 226.1 kB / 364.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.2932, allocations: 6.102 MB / 371 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2991/0.5923, allocations: 22.68 MB / 393.7 MB, free: 42.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/0.6134, allocations: 10.82 MB / 404.5 MB, free: 31.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.625, allocations: 3.579 MB / 408.1 MB, free: 28.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6251, allocations: 30.56 kB / 408.1 MB, free: 28.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 4.85e-06/0.6252, allocations: 0 / 408.1 MB, free: 28.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001418/0.6266, allocations: 0.6673 MB / 408.8 MB, free: 27.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.6267, allocations: 51.41 kB / 408.8 MB, free: 27.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/0.6329, allocations: 2.158 MB / 411 MB, free: 26.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.633, allocations: 25.7 kB / 411 MB, free: 26.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.6353, allocations: 2.376 MB / 413.4 MB, free: 24.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6355, allocations: 98.88 kB / 413.5 MB, free: 24.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.6358, allocations: 51.06 kB / 413.5 MB, free: 24.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003465/0.6361, allocations: 460 kB / 414 MB, free: 23.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.6391, allocations: 0.8545 MB / 414.8 MB, free: 23.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.6431, allocations: 2.266 MB / 417.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/0.6476, allocations: 1.423 MB / 418.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/0.6477, allocations: 14.03 kB / 418.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01132/0.6591, allocations: 3.111 MB / 421.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.6592, allocations: 31.95 kB / 421.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-05/0.6593, allocations: 48 kB / 421.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.6594, allocations: 76 kB / 421.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/0.664, allocations: 0.5732 MB / 422.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001388/0.6642, allocations: 99.64 kB / 422.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.6692, allocations: 400.6 kB / 422.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.6696, allocations: 148 kB / 423 MB, free: 15.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (312): * Single equations (assignments): 308 * 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.003234/0.6728, allocations: 1.726 MB / 424.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.6732, allocations: 134.2 kB / 424.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.674, allocations: 355.3 kB / 425.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.674, allocations: 4 kB / 425.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.674, allocations: 0 / 425.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/0.6746, allocations: 259.2 kB / 425.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.6749, allocations: 0 / 425.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.6757, allocations: 27.95 kB / 425.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6758, allocations: 8 kB / 425.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004472/0.6763, allocations: 270 kB / 425.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007707/0.677, allocations: 0.6022 MB / 426.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001718/0.6772, allocations: 84.03 kB / 426.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002706/0.68, allocations: 1.4 MB / 427.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Backend: time 8.91e-07/0.68, allocations: 0 / 427.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003826/0.6838, allocations: 1.673 MB / 429.5 MB, free: 9.004 MB / 314.7 MB Notification: Performance of SimCode: time 0.01647/0.7003, allocations: 8.426 MB / 438 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of Templates: time 0.07013/0.7705, allocations: 21.37 MB / 459.3 MB, free: 11.22 MB / 346.7 MB