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.BalancingStar.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.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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.82e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 38.77 MB / 267.6 MB, free: 9.457 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.3641, allocations: 74.51 MB / 342.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.3644, allocations: 87.95 kB / 342.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9759/1.34, allocations: 171.8 MB / 0.502 GB, free: 74.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.845e-06/1.34, allocations: 0 / 0.502 GB, free: 74.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003881/1.341, allocations: 109.1 kB / 0.5021 GB, free: 74.45 MB / 362.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.0277/1.368, allocations: 4.496 MB / 0.5065 GB, free: 73.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.369, allocations: 11.61 kB / 0.5065 GB, free: 73.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/1.371, allocations: 485.2 kB / 0.5069 GB, free: 72.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007138/1.378, allocations: 2.93 MB / 0.5098 GB, free: 72.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005491/1.379, allocations: 373.3 kB / 0.5102 GB, free: 72.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/1.381, allocations: 476 kB / 0.5106 GB, free: 72.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/1.401, allocations: 7.618 MB / 0.5181 GB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/1.402, allocations: 7.031 kB / 0.5181 GB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/1.403, allocations: 206.7 kB / 0.5183 GB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/1.403, allocations: 220.8 kB / 0.5185 GB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/1.417, allocations: 5.389 MB / 0.5237 GB, free: 71.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05403/1.471, allocations: 23.96 MB / 0.5471 GB, free: 61.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005038/1.476, allocations: 2.742 MB / 0.5498 GB, free: 60.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005903/1.482, allocations: 3.166 MB / 0.5529 GB, free: 58.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/1.483, allocations: 77.94 kB / 0.553 GB, free: 58.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.483, allocations: 57.88 kB / 0.553 GB, free: 58.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=324): time 7.331e-06/1.483, allocations: 0 / 0.553 GB, free: 58.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=324): time 0.01068/1.493, allocations: 5.538 MB / 0.5584 GB, free: 53.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.493, allocations: 127.3 kB / 0.5586 GB, free: 53.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/1.495, allocations: 0.7662 MB / 0.5593 GB, free: 52.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005204/1.495, allocations: 57.7 kB / 0.5594 GB, free: 52.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/1.496, allocations: 1.635 MB / 0.561 GB, free: 51.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.497, allocations: 1.052 MB / 0.562 GB, free: 50.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/1.498, allocations: 44 kB / 0.562 GB, free: 50.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/1.498, allocations: 441.3 kB / 0.5624 GB, free: 49.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.502, allocations: 2.099 MB / 0.5645 GB, free: 48.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/1.506, allocations: 2.545 MB / 0.567 GB, free: 45.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004391/1.51, allocations: 2.543 MB / 0.5695 GB, free: 43.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/1.511, allocations: 4 kB / 0.5695 GB, free: 43.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01128/1.522, allocations: 5.924 MB / 0.5753 GB, free: 38.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.522, allocations: 13.22 kB / 0.5753 GB, free: 38.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/1.522, allocations: 12 kB / 0.5753 GB, free: 38.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/1.526, allocations: 1.736 MB / 0.577 GB, free: 36.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.528, allocations: 337.4 kB / 0.5773 GB, free: 36.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/1.535, allocations: 6.408 MB / 0.5836 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.537, allocations: 232.9 kB / 0.5838 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/1.537, allocations: 111 kB / 0.5839 GB, free: 30.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005733/1.538, allocations: 224.5 kB / 0.5841 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/1.538, allocations: 153.9 kB / 0.5842 GB, free: 29.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.549, allocations: 5.856 MB / 0.59 GB, free: 24.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009725/1.558, allocations: 5.502 MB / 0.5953 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.558, allocations: 0 / 0.5953 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.559, allocations: 10.83 kB / 0.5953 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/1.585, allocations: 12.18 MB / 0.6072 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.942e-05/1.585, allocations: 4 kB / 0.6072 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.587, allocations: 217.6 kB / 0.6075 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00414/1.591, allocations: 1.729 MB / 0.6091 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000668/1.592, allocations: 75.53 kB / 0.6092 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.603, allocations: 6.401 MB / 0.6155 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.477e-06/1.603, allocations: 7.438 kB / 0.6155 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2341/1.837, allocations: 9.312 MB / 0.6246 GB, free: 72.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/1.837, allocations: 275.6 kB / 0.6248 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/1.838, allocations: 45.47 kB / 0.6249 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.839, allocations: 61.27 kB / 0.6249 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/1.84, allocations: 266.2 kB / 0.6252 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.84, allocations: 78.48 kB / 0.6253 GB, free: 72.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009549/1.841, allocations: 0.5969 MB / 0.6258 GB, free: 72.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.19e-07/1.841, allocations: 0 / 0.6258 GB, free: 72.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003531/1.845, allocations: 1.066 MB / 0.6269 GB, free: 72.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007929/1.846, allocations: 202 kB / 0.6271 GB, free: 71.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.856, allocations: 4.988 MB / 0.6319 GB, free: 71.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.856, allocations: 1.562 kB / 0.6319 GB, free: 71.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.862, allocations: 2.561 MB / 0.6344 GB, free: 71.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.864, allocations: 352.5 kB / 0.6348 GB, free: 71.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.883, allocations: 8.201 MB / 0.6428 GB, free: 70.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004913/1.888, allocations: 3.497 MB / 0.6462 GB, free: 69.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/1.888, allocations: 89.02 kB / 0.6463 GB, free: 69.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.118e-06/1.888, allocations: 2.656 kB / 0.6463 GB, free: 69.74 MB / 362.7 MB Notification: Performance of Templates: time 0.4326/2.321, allocations: 184.5 MB / 0.8265 GB, free: 58.51 MB / 378.7 MB