Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.537/1.537, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 12 kB / 233.3 MB, free: 2.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.0801, allocations: 38.77 MB / 272 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.0133/0.09346, allocations: 8.201 MB / 280.2 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.09933, allocations: 2.189 MB / 282.4 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1008, allocations: 59.88 kB / 282.5 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.1025, allocations: 441.5 kB / 282.9 MB, free: 1.176 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.1048, allocations: 386.9 kB / 283.3 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.1082, allocations: 0.8805 MB / 284.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.1139, allocations: 2.76 MB / 286.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/0.1391, allocations: 10.36 MB / 297.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.1421, allocations: 1.553 MB / 298.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2224/0.3646, allocations: 1.811 MB / 300.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.3658, allocations: 288.2 kB / 300.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.3679, allocations: 410.9 kB / 301.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3693, allocations: 0.7047 MB / 302 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.3709, allocations: 0.9146 MB / 302.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3816, allocations: 7.831 MB / 310.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3816, allocations: 0 / 310.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3816, allocations: 1.125 kB / 310.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002888/0.3819, allocations: 0 / 310.8 MB, free: 12.16 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.01865/0.4006, allocations: 4.588 MB / 315.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4007, allocations: 8.031 kB / 315.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002674/0.4034, allocations: 0.6751 MB / 316.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.406, allocations: 460.2 kB / 316.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/0.4126, allocations: 2.301 MB / 318.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.413, allocations: 365.2 kB / 319.2 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.4148, allocations: 474.1 kB / 319.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.4358, allocations: 6.627 MB / 326.2 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.4361, allocations: 7.344 kB / 326.3 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.4376, allocations: 195.3 kB / 326.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.4377, allocations: 117.2 kB / 326.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.4528, allocations: 4.949 MB / 331.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/0.5031, allocations: 21.71 MB / 353.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.5044, allocations: 443.3 kB / 353.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.5045, allocations: 17.56 kB / 353.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5046, allocations: 34.56 kB / 353.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.5046, allocations: 0 / 353.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001857/0.5064, allocations: 0.7353 MB / 354.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5065, allocations: 114.4 kB / 354.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.5102, allocations: 1.538 MB / 356.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.196e-05/0.5103, allocations: 29.7 kB / 356.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001888/0.5122, allocations: 2.112 MB / 358.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.5125, allocations: 144.2 kB / 358.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.5126, allocations: 36 kB / 358.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.5129, allocations: 394.7 kB / 358.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.5147, allocations: 0.6324 MB / 359.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.5174, allocations: 1.793 MB / 361.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.5201, allocations: 1.12 MB / 362.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/0.5202, allocations: 12 kB / 362.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006316/0.5265, allocations: 2.32 MB / 364.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.5266, allocations: 21.62 kB / 364.7 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.387e-05/0.5267, allocations: 44 kB / 364.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.652e-05/0.5268, allocations: 64 kB / 364.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.5296, allocations: 449.3 kB / 365.2 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.165e-05/0.5297, allocations: 81.97 kB / 365.3 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.5317, allocations: 257.3 kB / 365.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.532, allocations: 112 kB / 365.7 MB, free: 15.77 MB / 298.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.004679/0.5367, allocations: 1.749 MB / 367.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.5371, allocations: 110.6 kB / 367.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.5387, allocations: 0.5517 MB / 368.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008342/0.5395, allocations: 385.5 kB / 368.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5396, allocations: 3.984 kB / 368.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.5396, allocations: 7.984 kB / 368.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.5504, allocations: 4.332 MB / 372.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.5504, allocations: 8 kB / 372.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.5511, allocations: 73.95 kB / 372.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.5511, allocations: 12 kB / 372.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.5512, allocations: 16 kB / 372.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.5512, allocations: 9.969 kB / 372.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.5512, allocations: 12.53 kB / 372.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.5532, allocations: 1.215 MB / 374.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/0.5538, allocations: 237.6 kB / 374.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.554, allocations: 19.92 kB / 374.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.5548, allocations: 23.98 kB / 374.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.5548, allocations: 48.09 kB / 374.5 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.5549, allocations: 22.83 kB / 374.5 MB, free: 6.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002321/0.5572, allocations: 1.028 MB / 375.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5573, allocations: 1.969 kB / 375.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00337/0.5606, allocations: 0.9198 MB / 376.4 MB, free: 4.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma,voltageSource.voltageSource[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.002477/0.5631, allocations: 1.81 MB / 378.3 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.5662, allocations: 1.3 MB / 379.6 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.5662, allocations: 4 kB / 379.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.5668, allocations: 222.4 kB / 379.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.5694, allocations: 325.1 kB / 380.1 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/0.6042, allocations: 14.81 MB / 394.9 MB, free: 1.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004752/0.609, allocations: 3.142 MB / 398 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/0.6118, allocations: 1.269 MB / 399.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6118, allocations: 0 / 399.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.029/3.64, allocations: 57.69 MB / 457 MB, free: 97.59 MB / 346.7 MB