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.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01362/0.3108, allocations: 8.164 MB / 316.7 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.3182, allocations: 2.521 MB / 319.2 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.3199, allocations: 55.81 kB / 319.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.322, allocations: 421.7 kB / 319.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.3265, allocations: 0.9114 MB / 320.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.3294, allocations: 0.6313 MB / 321.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005862/0.3353, allocations: 2.596 MB / 323.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02474/0.3601, allocations: 8.088 MB / 331.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.3642, allocations: 1.448 MB / 333.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005727/0.37, allocations: 1.755 MB / 335.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.3712, allocations: 252 kB / 335.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3737, allocations: 415.8 kB / 335.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.3751, allocations: 0.7163 MB / 336.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.3773, allocations: 0.8163 MB / 337.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.391, allocations: 6.814 MB / 344.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.391, allocations: 0 / 344.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3911, allocations: 0 / 344.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.3913, allocations: 0 / 344.1 MB, free: 8.902 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.02319/0.4145, allocations: 4.276 MB / 348.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.4146, allocations: 8.031 kB / 348.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002736/0.4173, allocations: 0.6337 MB / 349.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02545/0.4428, allocations: 2.582 MB / 351.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.4492, allocations: 2.123 MB / 353.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/0.4497, allocations: 337 kB / 354.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.4516, allocations: 447.8 kB / 354.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.4717, allocations: 6.059 MB / 360.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.4719, allocations: 8 kB / 360.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.4731, allocations: 183.9 kB / 360.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/0.4735, allocations: 217.3 kB / 361 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4919, allocations: 5.763 MB / 366.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05234/0.5442, allocations: 21.47 MB / 388.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/0.5586, allocations: 8.977 MB / 397.2 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.5688, allocations: 3.86 MB / 401.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.5689, allocations: 38.75 kB / 401.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.646e-06/0.569, allocations: 0 / 401.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001911/0.5709, allocations: 0.911 MB / 402 MB, free: 12.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.571, allocations: 59.53 kB / 402.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/0.5755, allocations: 2.074 MB / 404.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.5756, allocations: 33.7 kB / 404.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/0.5777, allocations: 2.204 MB / 406.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5779, allocations: 134.7 kB / 406.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.5782, allocations: 52 kB / 406.6 MB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/0.5786, allocations: 451.9 kB / 407 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.5809, allocations: 0.9145 MB / 407.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.5843, allocations: 2.265 MB / 410.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.5878, allocations: 1.451 MB / 411.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/0.5878, allocations: 16 kB / 411.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.2574/0.8452, allocations: 3.199 MB / 414.8 MB, free: 85.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.8453, allocations: 26.55 kB / 414.9 MB, free: 85.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.8454, allocations: 47.53 kB / 414.9 MB, free: 85.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.8456, allocations: 73.11 kB / 415 MB, free: 85.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.8492, allocations: 0.5966 MB / 415.6 MB, free: 85.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.911e-05/0.8493, allocations: 91.41 kB / 415.7 MB, free: 85.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.8522, allocations: 424.3 kB / 416.1 MB, free: 85.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.8525, allocations: 147.3 kB / 416.2 MB, free: 85.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (320): * Single equations (assignments): 316 * 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.002902/0.8554, allocations: 1.559 MB / 417.8 MB, free: 85.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.8557, allocations: 133.3 kB / 417.9 MB, free: 85.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.8569, allocations: 0.5582 MB / 418.5 MB, free: 84.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005108/0.8574, allocations: 288.1 kB / 418.8 MB, free: 84.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8574, allocations: 0 / 418.8 MB, free: 84.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.8574, allocations: 0 / 418.8 MB, free: 84.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006613/0.8641, allocations: 3.398 MB / 422.2 MB, free: 83.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.8641, allocations: 0 / 422.2 MB, free: 83.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.8644, allocations: 30.47 kB / 422.2 MB, free: 83.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.8644, allocations: 5.906 kB / 422.2 MB, free: 83.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.8645, allocations: 7.875 kB / 422.2 MB, free: 83.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.8645, allocations: 3.812 kB / 422.2 MB, free: 83.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8645, allocations: 3.906 kB / 422.2 MB, free: 83.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.8657, allocations: 0.7345 MB / 422.9 MB, free: 82.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.8663, allocations: 287.2 kB / 423.2 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.8665, allocations: 11.84 kB / 423.2 MB, free: 82.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/0.8675, allocations: 33.22 kB / 423.3 MB, free: 82.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.8676, allocations: 23.67 kB / 423.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.8676, allocations: 15.83 kB / 423.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002615/0.8702, allocations: 1.38 MB / 424.7 MB, free: 82.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8703, allocations: 0 / 424.7 MB, free: 82.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003149/0.8734, allocations: 0.931 MB / 425.6 MB, free: 81.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 14 * 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.001553/0.875, allocations: 1.336 MB / 427 MB, free: 80.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.8784, allocations: 1.686 MB / 428.6 MB, free: 80.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8785, allocations: 3.531 kB / 428.6 MB, free: 80.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.8788, allocations: 149.1 kB / 428.8 MB, free: 80.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.8809, allocations: 283.2 kB / 429.1 MB, free: 80.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/0.9103, allocations: 15.15 MB / 444.2 MB, free: 66.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/0.9133, allocations: 2.964 MB / 447.2 MB, free: 63.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003046/0.9164, allocations: 0.7626 MB / 448 MB, free: 62.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/0.9185, allocations: 1.21 MB / 449.2 MB, free: 61.19 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.9185, allocations: 4 kB / 449.2 MB, free: 61.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/1.007, allocations: 39.28 MB / 488.4 MB, free: 21.89 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.007, allocations: 208.3 kB / 488.6 MB, free: 21.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/4.523, allocations: 0 / 488.6 MB, free: 21.64 MB / 346.7 MB