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.571/1.571, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 12 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06941/0.06978, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/0.3545, allocations: 74.6 MB / 346.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.3548, allocations: 86.08 kB / 346.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6629/1.018, allocations: 171.8 MB / 0.5064 GB, free: 44.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.507e-06/1.018, allocations: 0 / 0.5064 GB, free: 44.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002108/1.018, allocations: 111.9 kB / 0.5065 GB, free: 44.73 MB / 346.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.01643/1.034, allocations: 4.645 MB / 0.511 GB, free: 40.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/1.034, allocations: 11.97 kB / 0.511 GB, free: 40.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.036, allocations: 494.2 kB / 0.5115 GB, free: 39.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/1.043, allocations: 2.931 MB / 0.5144 GB, free: 36.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/1.044, allocations: 369.8 kB / 0.5147 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/1.045, allocations: 476 kB / 0.5152 GB, free: 35.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/1.064, allocations: 7.695 MB / 0.5227 GB, free: 27.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/1.064, allocations: 3.906 kB / 0.5227 GB, free: 27.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008718/1.065, allocations: 208 kB / 0.5229 GB, free: 27.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/1.065, allocations: 219.9 kB / 0.5231 GB, free: 27.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/1.079, allocations: 5.474 MB / 0.5285 GB, free: 21.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2613/1.34, allocations: 23.95 MB / 0.5519 GB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/1.346, allocations: 2.748 MB / 0.5545 GB, free: 47.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/1.346, allocations: 73.78 kB / 0.5546 GB, free: 47.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.346, allocations: 62.27 kB / 0.5547 GB, free: 47.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.856e-06/1.346, allocations: 0 / 0.5547 GB, free: 47.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.02228/1.368, allocations: 14.21 MB / 0.5685 GB, free: 40.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/1.369, allocations: 128.4 kB / 0.5687 GB, free: 40.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.37, allocations: 0.7755 MB / 0.5694 GB, free: 40.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/1.371, allocations: 62.73 kB / 0.5695 GB, free: 40.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/1.371, allocations: 1.627 MB / 0.5711 GB, free: 39.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001396/1.373, allocations: 1.061 MB / 0.5721 GB, free: 39.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.373, allocations: 42.03 kB / 0.5721 GB, free: 39.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/1.373, allocations: 434.4 kB / 0.5726 GB, free: 39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/1.378, allocations: 2.117 MB / 0.5746 GB, free: 38.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005543/1.383, allocations: 2.557 MB / 0.5771 GB, free: 38.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004837/1.388, allocations: 2.553 MB / 0.5796 GB, free: 38.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.388, allocations: 2.562 kB / 0.5796 GB, free: 38.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01206/1.4, allocations: 5.975 MB / 0.5855 GB, free: 38.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.401, allocations: 10.28 kB / 0.5855 GB, free: 38.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.401, allocations: 10.62 kB / 0.5855 GB, free: 38.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/1.404, allocations: 1.758 MB / 0.5872 GB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.406, allocations: 324.2 kB / 0.5875 GB, free: 38.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/1.414, allocations: 6.432 MB / 0.5938 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.416, allocations: 231.2 kB / 0.594 GB, free: 35.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003437/1.416, allocations: 106.1 kB / 0.5941 GB, free: 35.5 MB / 346.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 () * Number of clocked 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.003878/1.42, allocations: 1.882 MB / 0.5959 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005922/1.42, allocations: 160 kB / 0.5961 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.432, allocations: 5.885 MB / 0.6018 GB, free: 35.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01099/1.443, allocations: 5.525 MB / 0.6072 GB, free: 32.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.443, allocations: 0 / 0.6072 GB, free: 32.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.443, allocations: 18.48 kB / 0.6073 GB, free: 32.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.469, allocations: 12.22 MB / 0.6192 GB, free: 27.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/1.469, allocations: 3.062 kB / 0.6192 GB, free: 27.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.47, allocations: 225 kB / 0.6194 GB, free: 27.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/1.474, allocations: 1.741 MB / 0.6211 GB, free: 26.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006245/1.475, allocations: 70.31 kB / 0.6212 GB, free: 26.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/1.483, allocations: 6.422 MB / 0.6274 GB, free: 22.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.656e-06/1.483, allocations: 4.609 kB / 0.6274 GB, free: 22.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.501, allocations: 9.353 MB / 0.6366 GB, free: 17.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/1.501, allocations: 277.6 kB / 0.6368 GB, free: 16.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005861/1.502, allocations: 43.7 kB / 0.6369 GB, free: 16.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.503, allocations: 67.67 kB / 0.6369 GB, free: 16.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000643/1.503, allocations: 259.6 kB / 0.6372 GB, free: 16.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/1.504, allocations: 90.2 kB / 0.6373 GB, free: 16.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009486/1.505, allocations: 0.6033 MB / 0.6379 GB, free: 16.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.7e-07/1.505, allocations: 0 / 0.6379 GB, free: 16.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00324/1.508, allocations: 1.061 MB / 0.6389 GB, free: 15.07 MB / 346.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 () * Number of clocked 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.0006151/1.509, allocations: 204.9 kB / 0.6391 GB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.519, allocations: 5.029 MB / 0.644 GB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.836e-06/1.519, allocations: 4 kB / 0.644 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/1.524, allocations: 2.561 MB / 0.6465 GB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.527, allocations: 352.1 kB / 0.6469 GB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.547, allocations: 11.2 MB / 0.6578 GB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/1.553, allocations: 3.499 MB / 0.6612 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/1.554, allocations: 90.86 kB / 0.6613 GB, free: 10.94 MB / 362.7 MB Notification: Performance of SimCode: time 2.689e-06/1.554, allocations: 0 / 0.6613 GB, free: 10.94 MB / 362.7 MB Notification: Performance of Templates: time 0.8998/2.454, allocations: 184.5 MB / 0.8415 GB, free: 97.71 MB / 394.7 MB