Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006192/0.0006191, allocations: 12 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.0894, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01257/0.102, allocations: 8.2 MB / 280.1 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.1079, allocations: 2.189 MB / 282.3 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.1096, allocations: 63.81 kB / 282.4 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1114, allocations: 437.6 kB / 282.8 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.1137, allocations: 398.8 kB / 283.2 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.1169, allocations: 0.8649 MB / 284.1 MB, free: 8 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.1221, allocations: 2.756 MB / 286.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02399/0.1461, allocations: 10.37 MB / 297.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.149, allocations: 1.55 MB / 298.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2773/0.4264, allocations: 1.813 MB / 300.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008156/0.4272, allocations: 288.8 kB / 300.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.4286, allocations: 411.5 kB / 301.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009113/0.4296, allocations: 0.7084 MB / 301.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.4312, allocations: 0.908 MB / 302.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.4408, allocations: 7.828 MB / 310.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.607e-06/0.4408, allocations: 0 / 310.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.598e-06/0.4408, allocations: 0 / 310.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000234/0.4411, allocations: 4.391 kB / 310.7 MB, free: 12.14 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.01576/0.4569, allocations: 4.585 MB / 315.3 MB, free: 9.801 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4569, allocations: 8.938 kB / 315.3 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.4589, allocations: 474.5 kB / 315.7 MB, free: 9.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4642, allocations: 2.288 MB / 318 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.4646, allocations: 358.1 kB / 318.4 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.4659, allocations: 477.2 kB / 318.9 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4838, allocations: 6.631 MB / 325.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.4841, allocations: 7.344 kB / 325.5 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.4852, allocations: 198.1 kB / 325.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.4853, allocations: 127.3 kB / 325.8 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.498, allocations: 4.943 MB / 330.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.5432, allocations: 21.71 MB / 352.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5443, allocations: 441.4 kB / 352.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/0.5444, allocations: 13.5 kB / 352.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.5445, allocations: 42.2 kB / 352.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 4.029e-06/0.5445, allocations: 4 kB / 352.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001705/0.5462, allocations: 0.7312 MB / 353.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.5463, allocations: 109.7 kB / 353.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.5495, allocations: 1.538 MB / 355.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.5497, allocations: 29.7 kB / 355.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/0.5517, allocations: 2.11 MB / 357.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.552, allocations: 144.7 kB / 357.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.5521, allocations: 36.25 kB / 357.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.5524, allocations: 390.8 kB / 358 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.5538, allocations: 0.6369 MB / 358.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.5563, allocations: 1.794 MB / 360.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.5586, allocations: 1.116 MB / 361.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.899e-05/0.5586, allocations: 12 kB / 361.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.005468/0.5641, allocations: 2.328 MB / 363.9 MB, free: 1.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.5642, allocations: 24.25 kB / 363.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.56e-05/0.5643, allocations: 44 kB / 364 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.953e-05/0.5644, allocations: 60 kB / 364 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.5662, allocations: 447.3 kB / 364.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.521e-05/0.5664, allocations: 81.78 kB / 364.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.5684, allocations: 257.3 kB / 364.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.5687, allocations: 112 kB / 364.9 MB, free: 0.5039 MB / 282.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.004112/0.5728, allocations: 1.746 MB / 366.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.5732, allocations: 114.5 kB / 366.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5745, allocations: 0.5443 MB / 367.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007913/0.5753, allocations: 393 kB / 367.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-06/0.5753, allocations: 0 / 367.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5754, allocations: 4 kB / 367.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.5865, allocations: 4.334 MB / 372 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.5865, allocations: 10.84 kB / 372 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.587, allocations: 74.42 kB / 372.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/0.587, allocations: 12.75 kB / 372.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.5871, allocations: 16 kB / 372.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.5871, allocations: 18.05 kB / 372.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.5872, allocations: 12.03 kB / 372.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.5891, allocations: 1.208 MB / 373.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.5897, allocations: 231.5 kB / 373.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.5899, allocations: 21.97 kB / 373.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.5906, allocations: 27.97 kB / 373.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.5907, allocations: 44.05 kB / 373.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.5908, allocations: 20 kB / 373.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002244/0.593, allocations: 1.03 MB / 374.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.16e-06/0.593, allocations: 0 / 374.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003834/0.5969, allocations: 0.9198 MB / 375.7 MB, free: 5.566 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.0004145/0.5973, allocations: 158.7 kB / 375.8 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.6003, allocations: 1.291 MB / 377.1 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.6003, allocations: 4.812 kB / 377.1 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.6009, allocations: 229.2 kB / 377.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.6029, allocations: 318.1 kB / 377.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.62, allocations: 7.782 MB / 385.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00587/0.6259, allocations: 3.138 MB / 388.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.6263, allocations: 102 kB / 388.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of SimCode: time 1.802e-06/0.6263, allocations: 0 / 388.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of Templates: time 0.1096/0.7359, allocations: 36.13 MB / 424.8 MB, free: 4.461 MB / 346.7 MB