Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.113/1.113, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002741, allocations: 12 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05126/0.05156, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.2708, allocations: 44.38 MB / 228.4 MB, free: 2.168 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.2711, allocations: 76.02 kB / 228.5 MB, free: 2.129 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4561/0.7272, allocations: 72.23 MB / 300.7 MB, free: 37.3 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7273, allocations: 0 / 300.7 MB, free: 37.3 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003728/0.7276, allocations: 76.28 kB / 300.8 MB, free: 37.29 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.01109/0.7387, allocations: 2.863 MB / 303.7 MB, free: 36.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7388, allocations: 10.47 kB / 303.7 MB, free: 36.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.7405, allocations: 323.1 kB / 304 MB, free: 36.11 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.7463, allocations: 1.829 MB / 305.8 MB, free: 35.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.7467, allocations: 192.2 kB / 306 MB, free: 35.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.7479, allocations: 243.7 kB / 306.2 MB, free: 35.67 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.7606, allocations: 3.689 MB / 309.9 MB, free: 35.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-05/0.7607, allocations: 2.812 kB / 309.9 MB, free: 35.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/0.7616, allocations: 108.9 kB / 310 MB, free: 35.23 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.7619, allocations: 123.7 kB / 310.2 MB, free: 35.22 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.772, allocations: 2.884 MB / 313 MB, free: 35.19 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.7984, allocations: 9.262 MB / 322.3 MB, free: 33.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.8025, allocations: 2.514 MB / 324.8 MB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.8028, allocations: 18.75 kB / 324.8 MB, free: 32.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.8028, allocations: 54.42 kB / 324.9 MB, free: 32.78 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.208e-06/0.8029, allocations: 0 / 324.9 MB, free: 32.78 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.01438/0.8172, allocations: 5.211 MB / 330.1 MB, free: 31.25 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.8174, allocations: 96.25 kB / 330.2 MB, free: 31.15 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7955:5-7956:40:writable] Warning: Parameter transformerData.P_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=300.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7953:5-7954:36:writable] Warning: Parameter transformerData.v_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7951:5-7952:33:writable] Warning: Parameter transformerData.SNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=30000.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7945:5-7946:86:writable] Warning: Parameter transformerData.V2 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7940:5-7941:53:writable] Warning: Parameter transformerData.V1 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7939:5-7939:73:writable] Warning: Parameter transformerData.f has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.8208, allocations: 1.534 MB / 331.7 MB, free: 30.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.8212, allocations: 45.55 kB / 331.8 MB, free: 30.54 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007348/0.8219, allocations: 1.122 MB / 332.9 MB, free: 29.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.8224, allocations: 419.9 kB / 333.3 MB, free: 29.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.8226, allocations: 29.75 kB / 333.3 MB, free: 29.3 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8227, allocations: 363 kB / 333.7 MB, free: 28.96 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.8246, allocations: 0.7494 MB / 334.4 MB, free: 28.7 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.8268, allocations: 1.058 MB / 335.5 MB, free: 28.1 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.8292, allocations: 0.9344 MB / 336.4 MB, free: 27.74 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8293, allocations: 3.438 kB / 336.4 MB, free: 27.74 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006421/0.8357, allocations: 2.239 MB / 338.7 MB, free: 26.94 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.8358, allocations: 10.5 kB / 338.7 MB, free: 26.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-05/0.8359, allocations: 11.5 kB / 338.7 MB, free: 26.94 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.8376, allocations: 382 kB / 339.1 MB, free: 26.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.8401, allocations: 297.9 kB / 339.4 MB, free: 26.83 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/0.8484, allocations: 4.35 MB / 343.7 MB, free: 24.08 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.8505, allocations: 92.92 kB / 343.8 MB, free: 24.05 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/0.8509, allocations: 52.62 kB / 343.8 MB, free: 24.05 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (134): * Single equations (assignments): 129 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002632/0.8536, allocations: 0.9563 MB / 344.8 MB, free: 23.58 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.8542, allocations: 170.6 kB / 345 MB, free: 23.5 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.8601, allocations: 2 MB / 347 MB, free: 22.71 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.8602, allocations: 17.11 kB / 347 MB, free: 22.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8602, allocations: 3.812 kB / 347 MB, free: 22.71 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.8603, allocations: 3.891 kB / 347 MB, free: 22.71 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.8724, allocations: 4.579 MB / 351.6 MB, free: 20.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.8725, allocations: 3.969 kB / 351.6 MB, free: 20.89 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.8743, allocations: 195.6 kB / 351.8 MB, free: 20.88 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.8759, allocations: 369.6 kB / 352.1 MB, free: 20.78 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.8762, allocations: 30.66 kB / 352.2 MB, free: 20.76 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007757/0.884, allocations: 4.331 MB / 356.5 MB, free: 18.01 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.884, allocations: 2.438 kB / 356.5 MB, free: 18.01 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007538/0.8916, allocations: 3.004 MB / 359.5 MB, free: 16.78 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.8929, allocations: 410.6 kB / 359.9 MB, free: 16.52 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.8934, allocations: 27.34 kB / 359.9 MB, free: 16.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.895, allocations: 112.5 kB / 360 MB, free: 16.49 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.8953, allocations: 85.03 kB / 360.1 MB, free: 16.47 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.8955, allocations: 38.53 kB / 360.1 MB, free: 16.46 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002259/0.8977, allocations: 1.058 MB / 361.2 MB, free: 16.06 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8978, allocations: 3.781 kB / 361.2 MB, free: 16.06 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002444/0.9002, allocations: 494.3 kB / 361.7 MB, free: 16.01 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * 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 (87): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.9008, allocations: 172.1 kB / 361.9 MB, free: 15.9 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.005316/0.9061, allocations: 2.182 MB / 364 MB, free: 14.54 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.9062, allocations: 0 / 364 MB, free: 14.54 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.9092, allocations: 1.255 MB / 365.3 MB, free: 13.41 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/0.9133, allocations: 456.4 kB / 365.7 MB, free: 13.08 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.9251, allocations: 5.785 MB / 371.5 MB, free: 7.801 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.9277, allocations: 2.238 MB / 373.8 MB, free: 6.012 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/0.9286, allocations: 99.19 kB / 373.9 MB, free: 5.922 MB / 234.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9286, allocations: 0 / 373.9 MB, free: 5.922 MB / 234.7 MB Notification: Performance of Templates: time 0.3005/1.229, allocations: 41.64 MB / 415.5 MB, free: 38.11 MB / 250.7 MB