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.813/1.813, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.869e-05, allocations: 7.984 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 38.76 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3713, allocations: 74.77 MB / 342.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.3716, allocations: 83.95 kB / 342.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.198, allocations: 156.2 MB / 498.6 MB, free: 73.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.957e-06/1.198, allocations: 0 / 498.6 MB, free: 73.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002199/1.198, allocations: 100.3 kB / 498.7 MB, free: 73.41 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.0168/1.215, allocations: 4.157 MB / 0.4911 GB, free: 72.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.215, allocations: 10.84 kB / 0.4911 GB, free: 72.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/1.217, allocations: 453 kB / 0.4915 GB, free: 72.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/1.223, allocations: 2.646 MB / 0.4941 GB, free: 71.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/1.224, allocations: 343.6 kB / 0.4944 GB, free: 71.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/1.225, allocations: 439.4 kB / 0.4948 GB, free: 71.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/1.243, allocations: 6.929 MB / 0.5016 GB, free: 71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/1.244, allocations: 7.344 kB / 0.5016 GB, free: 71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007857/1.244, allocations: 193.7 kB / 0.5018 GB, free: 71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/1.245, allocations: 197 kB / 0.502 GB, free: 71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/1.257, allocations: 4.949 MB / 0.5068 GB, free: 70.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/1.302, allocations: 21.84 MB / 0.5281 GB, free: 65.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/1.307, allocations: 2.537 MB / 0.5306 GB, free: 64.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00552/1.313, allocations: 2.829 MB / 0.5334 GB, free: 63.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/1.313, allocations: 68.03 kB / 0.5334 GB, free: 63.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.313, allocations: 59.89 kB / 0.5335 GB, free: 63.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=284): time 6.936e-06/1.313, allocations: 0 / 0.5335 GB, free: 63.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=284): time 0.009884/1.323, allocations: 4.734 MB / 0.5381 GB, free: 61.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.323, allocations: 127 kB / 0.5382 GB, free: 61.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.325, allocations: 0.765 MB / 0.539 GB, free: 60.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005115/1.325, allocations: 57.27 kB / 0.5391 GB, free: 60.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/1.326, allocations: 1.537 MB / 0.5406 GB, free: 59.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.327, allocations: 0.9344 MB / 0.5415 GB, free: 59.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.327, allocations: 43.78 kB / 0.5415 GB, free: 58.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/1.327, allocations: 426.9 kB / 0.5419 GB, free: 58.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/1.331, allocations: 1.862 MB / 0.5437 GB, free: 57.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/1.336, allocations: 2.31 MB / 0.546 GB, free: 56.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/1.34, allocations: 2.276 MB / 0.5482 GB, free: 55.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/1.34, allocations: 7.281 kB / 0.5482 GB, free: 55.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0107/1.351, allocations: 5.229 MB / 0.5533 GB, free: 53.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/1.351, allocations: 9.094 kB / 0.5533 GB, free: 53.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/1.351, allocations: 12 kB / 0.5533 GB, free: 53.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/1.354, allocations: 1.387 MB / 0.5547 GB, free: 51.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.356, allocations: 335.7 kB / 0.555 GB, free: 51.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/1.361, allocations: 5.125 MB / 0.56 GB, free: 46.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.363, allocations: 228.8 kB / 0.5602 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007169/1.364, allocations: 99.44 kB / 0.5603 GB, free: 46.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006601/1.365, allocations: 213 kB / 0.5605 GB, free: 46.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/1.365, allocations: 142.1 kB / 0.5607 GB, free: 46.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00987/1.375, allocations: 5.046 MB / 0.5656 GB, free: 41.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00881/1.384, allocations: 4.707 MB / 0.5702 GB, free: 37.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.384, allocations: 0 / 0.5702 GB, free: 37.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/1.384, allocations: 11.27 kB / 0.5702 GB, free: 37.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/1.405, allocations: 10.86 MB / 0.5808 GB, free: 28.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/1.405, allocations: 4 kB / 0.5808 GB, free: 28.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.407, allocations: 225.3 kB / 0.581 GB, free: 28.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/1.41, allocations: 1.372 MB / 0.5824 GB, free: 27.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005322/1.41, allocations: 70.45 kB / 0.5824 GB, free: 27.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/1.416, allocations: 5.099 MB / 0.5874 GB, free: 22.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-06/1.416, allocations: 7.094 kB / 0.5874 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.43, allocations: 8.209 MB / 0.5954 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/1.431, allocations: 265.9 kB / 0.5957 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006411/1.432, allocations: 39.81 kB / 0.5957 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.433, allocations: 62.39 kB / 0.5958 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/1.434, allocations: 250.5 kB / 0.596 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/1.434, allocations: 71.12 kB / 0.5961 GB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001109/1.435, allocations: 0.5869 MB / 0.5967 GB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.89e-07/1.435, allocations: 0 / 0.5967 GB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003837/1.439, allocations: 0.9864 MB / 0.5976 GB, free: 12.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008176/1.44, allocations: 201.3 kB / 0.5978 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01036/1.45, allocations: 4.42 MB / 0.6021 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.85e-06/1.45, allocations: 0 / 0.6021 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005769/1.456, allocations: 2.241 MB / 0.6043 GB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.459, allocations: 303.5 kB / 0.6046 GB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/1.691, allocations: 7.407 MB / 0.6119 GB, free: 68.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005914/1.697, allocations: 3.24 MB / 0.615 GB, free: 67.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/1.698, allocations: 84.97 kB / 0.6151 GB, free: 67.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.369e-06/1.698, allocations: 0 / 0.6151 GB, free: 67.5 MB / 362.7 MB Notification: Performance of Templates: time 0.3759/2.074, allocations: 142.9 MB / 0.7547 GB, free: 83.98 MB / 378.7 MB