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.BalancingStar.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.BalancingStar,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.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.07963, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01424/0.09393, allocations: 8.634 MB / 281.3 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.1002, allocations: 2.274 MB / 283.5 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.1018, allocations: 67.81 kB / 283.6 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.1039, allocations: 477.4 kB / 284.1 MB, free: 56 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1063, allocations: 426.7 kB / 284.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1097, allocations: 0.8756 MB / 285.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006528/0.1163, allocations: 3.037 MB / 288.4 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02831/0.1446, allocations: 11.5 MB / 299.9 MB, free: 112 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2326/0.3773, allocations: 1.708 MB / 301.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005192/0.3825, allocations: 1.954 MB / 303.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.3842, allocations: 320.6 kB / 303.9 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.3872, allocations: 438.1 kB / 304.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.3889, allocations: 0.7698 MB / 305.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.391, allocations: 1.001 MB / 306.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.4027, allocations: 8.636 MB / 314.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4028, allocations: 0 / 314.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4028, allocations: 0 / 314.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002886/0.4031, allocations: 1.094 kB / 314.7 MB, free: 11.92 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.01956/0.4227, allocations: 4.913 MB / 319.6 MB, free: 9.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4228, allocations: 9.375 kB / 319.6 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.4253, allocations: 0.4907 MB / 320.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/0.4324, allocations: 2.521 MB / 322.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.4329, allocations: 392.1 kB / 323 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.4347, allocations: 0.5092 MB / 323.5 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/0.4565, allocations: 7.201 MB / 330.7 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.4567, allocations: 11.89 kB / 330.7 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.4578, allocations: 216.6 kB / 331 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.4579, allocations: 124 kB / 331.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.4739, allocations: 5.368 MB / 336.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05521/0.5292, allocations: 23.77 MB / 360.2 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.5302, allocations: 401 kB / 360.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.5302, allocations: 8.188 kB / 360.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.5303, allocations: 42.75 kB / 360.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 5.591e-06/0.5303, allocations: 3.984 kB / 360.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001633/0.532, allocations: 0.6712 MB / 361.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.532, allocations: 106.8 kB / 361.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.5356, allocations: 1.658 MB / 363.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.5357, allocations: 29.7 kB / 363.1 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.5379, allocations: 2.288 MB / 365.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.5382, allocations: 120.8 kB / 365.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.5383, allocations: 40 kB / 365.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5386, allocations: 385.9 kB / 365.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.5402, allocations: 0.6351 MB / 366.6 MB, free: 108 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.5429, allocations: 1.917 MB / 368.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.5455, allocations: 1.175 MB / 369.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/0.5456, allocations: 12 kB / 369.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008547/0.5541, allocations: 2.465 MB / 372.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.5543, allocations: 28.56 kB / 372.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.5544, allocations: 48 kB / 372.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.5546, allocations: 64 kB / 372.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.5582, allocations: 475.7 kB / 372.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001873/0.5584, allocations: 95.64 kB / 372.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.5614, allocations: 257.3 kB / 373.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/0.5618, allocations: 120 kB / 373.2 MB, free: 8.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (240): * Single equations (assignments): 239 * 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.006553/0.5684, allocations: 1.917 MB / 375.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/0.569, allocations: 126.4 kB / 375.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.571, allocations: 0.493 MB / 375.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5711, allocations: 0 / 375.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5711, allocations: 4 kB / 375.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007838/0.5719, allocations: 223.4 kB / 376 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.5723, allocations: 8 kB / 376 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5735, allocations: 11.98 kB / 376 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.5736, allocations: 15.98 kB / 376 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002511/0.5761, allocations: 0.6795 MB / 376.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0028/0.5789, allocations: 1.061 MB / 377.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006536/0.5796, allocations: 195.7 kB / 377.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003209/0.5829, allocations: 1.105 MB / 379 MB, free: 2.93 MB / 298.7 MB Notification: Performance of Backend: time 1.863e-06/0.5829, allocations: 0 / 379 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.5866, allocations: 1.293 MB / 380.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of SimCode: time 0.02206/0.6087, allocations: 9.099 MB / 389.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of Templates: time 0.06146/0.6702, allocations: 17.83 MB / 407.3 MB, free: 6.758 MB / 330.7 MB