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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 211.1 MB, free: 8.414 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 8 kB / 264.1 MB, free: 3.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 44.51 MB / 308.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01432/0.3065, allocations: 8.534 MB / 317.1 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007206/0.3137, allocations: 2.571 MB / 319.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3152, allocations: 59.81 kB / 319.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.317, allocations: 461.4 kB / 320.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.321, allocations: 0.888 MB / 321.1 MB, free: 196 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3237, allocations: 0.6431 MB / 321.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.3297, allocations: 2.854 MB / 324.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02302/0.3528, allocations: 9.192 MB / 333.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/0.3561, allocations: 1.592 MB / 335.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.3606, allocations: 1.887 MB / 337.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009974/0.3616, allocations: 280 kB / 337.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.3636, allocations: 451.8 kB / 338 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3647, allocations: 0.7709 MB / 338.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.3662, allocations: 0.9058 MB / 339.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.378, allocations: 7.609 MB / 347.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3781, allocations: 0 / 347.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3781, allocations: 4 kB / 347.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002219/0.3783, allocations: 0 / 347.2 MB, free: 5.883 MB / 282.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.01866/0.397, allocations: 4.598 MB / 351.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3971, allocations: 8.031 kB / 351.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002788/0.3999, allocations: 0.6909 MB / 352.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/0.4217, allocations: 2.398 MB / 354.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007027/0.4288, allocations: 2.341 MB / 357.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/0.4293, allocations: 365.8 kB / 357.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.4313, allocations: 480 kB / 358.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.4536, allocations: 6.588 MB / 364.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.4538, allocations: 0 / 364.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.4551, allocations: 203.9 kB / 364.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003618/0.4555, allocations: 230.1 kB / 365.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.4749, allocations: 6.098 MB / 371.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.054/0.5289, allocations: 22.69 MB / 393.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/0.5463, allocations: 10.81 MB / 404.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5567, allocations: 3.581 MB / 408.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.5568, allocations: 30.56 kB / 408.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 6.803e-06/0.5569, allocations: 0 / 408.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001442/0.5583, allocations: 0.676 MB / 409 MB, free: 5.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.5584, allocations: 55.36 kB / 409.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00617/0.5646, allocations: 2.149 MB / 411.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.5647, allocations: 29.7 kB / 411.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/0.5675, allocations: 2.37 MB / 413.6 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.5678, allocations: 103.2 kB / 413.7 MB, free: 296 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.568, allocations: 48 kB / 413.8 MB, free: 248 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.2636/0.8317, allocations: 459.8 kB / 414.2 MB, free: 88.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.8345, allocations: 0.8571 MB / 415.1 MB, free: 88.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.8375, allocations: 2.266 MB / 417.3 MB, free: 86.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.8403, allocations: 1.425 MB / 418.8 MB, free: 85.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-05/0.8404, allocations: 11.88 kB / 418.8 MB, free: 85.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006593/0.847, allocations: 3.108 MB / 421.9 MB, free: 84.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.8471, allocations: 25.78 kB / 421.9 MB, free: 84.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/0.8471, allocations: 52.41 kB / 422 MB, free: 84.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.858e-05/0.8472, allocations: 79 kB / 422 MB, free: 84.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.8504, allocations: 0.5699 MB / 422.6 MB, free: 84.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001025/0.8505, allocations: 96.92 kB / 422.7 MB, free: 84.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.8535, allocations: 409.8 kB / 423.1 MB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.8539, allocations: 150.7 kB / 423.2 MB, free: 84.62 MB / 346.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.003153/0.857, allocations: 1.729 MB / 425 MB, free: 83.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.8573, allocations: 144.1 kB / 425.1 MB, free: 83.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.858, allocations: 329.3 kB / 425.4 MB, free: 83.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002977/0.8583, allocations: 181.9 kB / 425.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8584, allocations: 0 / 425.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8584, allocations: 0 / 425.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00647/0.8649, allocations: 3.183 MB / 428.8 MB, free: 82.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8649, allocations: 4.031 kB / 428.8 MB, free: 82.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.865, allocations: 15.53 kB / 428.8 MB, free: 82.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.8651, allocations: 0 / 428.8 MB, free: 82.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.8651, allocations: 7.938 kB / 428.8 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.8651, allocations: 0 / 428.8 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8651, allocations: 0.875 kB / 428.8 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.866, allocations: 0.521 MB / 429.3 MB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.8665, allocations: 263.1 kB / 429.6 MB, free: 81.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.8668, allocations: 0 / 429.6 MB, free: 81.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.8676, allocations: 34.73 kB / 429.6 MB, free: 81.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.8677, allocations: 8.703 kB / 429.6 MB, free: 81.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.8677, allocations: 0 / 429.6 MB, free: 81.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002675/0.8704, allocations: 1.405 MB / 431 MB, free: 81.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8704, allocations: 3.062 kB / 431 MB, free: 81.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003402/0.8738, allocations: 0.9898 MB / 432 MB, free: 80.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_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 (10): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001218/0.8751, allocations: 1.116 MB / 433.2 MB, free: 79.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.8784, allocations: 1.567 MB / 434.7 MB, free: 77.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8784, allocations: 0 / 434.7 MB, free: 77.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.8786, allocations: 87.72 kB / 434.8 MB, free: 77.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.8812, allocations: 314.3 kB / 435.1 MB, free: 77.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03231/0.9135, allocations: 15.92 MB / 451 MB, free: 61.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.9175, allocations: 3.202 MB / 454.2 MB, free: 58.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003329/0.9208, allocations: 0.7984 MB / 455 MB, free: 57.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/0.9231, allocations: 1.315 MB / 456.3 MB, free: 55.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.9231, allocations: 0 / 456.3 MB, free: 55.97 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09011/1.013, allocations: 41.38 MB / 497.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.013, allocations: 199.1 kB / 497.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/4.502, allocations: 0 / 497.9 MB, free: 14.34 MB / 346.7 MB