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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.13/1.13, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06723/0.06762, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2569/0.3246, allocations: 44.38 MB / 228 MB, free: 2.043 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3249, allocations: 75.77 kB / 228 MB, free: 2.004 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4683/0.7932, allocations: 72.23 MB / 300.3 MB, free: 37.16 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.7933, allocations: 0 / 300.3 MB, free: 37.16 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003303/0.7936, allocations: 81.55 kB / 300.4 MB, free: 37.14 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.01121/0.8048, allocations: 2.87 MB / 303.2 MB, free: 36.12 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8049, allocations: 7.656 kB / 303.2 MB, free: 36.12 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00166/0.8066, allocations: 382.9 kB / 303.6 MB, free: 36.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.8079, allocations: 320.5 kB / 303.9 MB, free: 35.92 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.8138, allocations: 1.833 MB / 305.8 MB, free: 35.48 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.8141, allocations: 195.6 kB / 305.9 MB, free: 35.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.8152, allocations: 243.2 kB / 306.2 MB, free: 35.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.826, allocations: 3.66 MB / 309.8 MB, free: 35.03 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.8261, allocations: 2.594 kB / 309.8 MB, free: 35.03 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.8265, allocations: 113.2 kB / 310 MB, free: 35.03 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.8268, allocations: 121.2 kB / 310.1 MB, free: 35.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009758/0.8365, allocations: 2.889 MB / 313 MB, free: 34.99 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.8611, allocations: 9.252 MB / 322.2 MB, free: 33.79 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.8648, allocations: 2.522 MB / 324.7 MB, free: 32.62 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.865, allocations: 16.03 kB / 324.8 MB, free: 32.62 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.8651, allocations: 44.88 kB / 324.8 MB, free: 32.58 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.218e-06/0.8651, allocations: 0 / 324.8 MB, free: 32.58 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.01337/0.8785, allocations: 5.223 MB / 330 MB, free: 30.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.8786, allocations: 88.73 kB / 330.1 MB, free: 30.72 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.002805/0.8814, allocations: 1.374 MB / 331.5 MB, free: 30.21 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.8816, allocations: 45.02 kB / 331.5 MB, free: 30.17 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.8824, allocations: 1.125 MB / 332.7 MB, free: 29.26 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/0.8829, allocations: 423 kB / 333.1 MB, free: 28.95 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.883, allocations: 27.12 kB / 333.1 MB, free: 28.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8831, allocations: 358.3 kB / 333.4 MB, free: 28.59 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.8849, allocations: 0.7576 MB / 334.2 MB, free: 28.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.8868, allocations: 1.046 MB / 335.2 MB, free: 27.73 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.8889, allocations: 0.937 MB / 336.2 MB, free: 27.36 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8889, allocations: 7.688 kB / 336.2 MB, free: 27.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005389/0.8943, allocations: 2.237 MB / 338.4 MB, free: 26.57 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.8944, allocations: 11.02 kB / 338.4 MB, free: 26.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.553e-05/0.8944, allocations: 15.39 kB / 338.5 MB, free: 26.57 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.896, allocations: 379.7 kB / 338.8 MB, free: 26.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.8984, allocations: 293.5 kB / 339.1 MB, free: 26.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00761/0.906, allocations: 4.35 MB / 343.5 MB, free: 23.7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.9081, allocations: 91.05 kB / 343.5 MB, free: 23.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.9083, allocations: 54.58 kB / 343.6 MB, free: 23.67 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.002298/0.9107, allocations: 0.9585 MB / 344.6 MB, free: 23.2 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/0.9112, allocations: 165.3 kB / 344.7 MB, free: 23.12 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.9163, allocations: 2.002 MB / 346.7 MB, free: 22.34 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.9164, allocations: 14.09 kB / 346.7 MB, free: 22.34 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9164, allocations: 7.438 kB / 346.7 MB, free: 22.34 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.9164, allocations: 7.828 kB / 346.8 MB, free: 22.34 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.9274, allocations: 4.571 MB / 351.3 MB, free: 20.51 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.9275, allocations: 3.656 kB / 351.3 MB, free: 20.51 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.9292, allocations: 200.5 kB / 351.5 MB, free: 20.51 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/0.931, allocations: 366.6 kB / 351.9 MB, free: 20.4 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.9312, allocations: 33.89 kB / 351.9 MB, free: 20.38 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007575/0.9388, allocations: 4.323 MB / 356.2 MB, free: 17.63 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9388, allocations: 0 / 356.2 MB, free: 17.63 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007432/0.9463, allocations: 3.013 MB / 359.3 MB, free: 16.39 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.9477, allocations: 414.6 kB / 359.7 MB, free: 16.14 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.9482, allocations: 22.34 kB / 359.7 MB, free: 16.12 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.9499, allocations: 115.5 kB / 359.8 MB, free: 16.1 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/0.9502, allocations: 85.98 kB / 359.9 MB, free: 16.09 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.9503, allocations: 35.91 kB / 359.9 MB, free: 16.08 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002228/0.9525, allocations: 1.061 MB / 361 MB, free: 15.68 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9526, allocations: 0 / 361 MB, free: 15.68 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00253/0.9551, allocations: 499.4 kB / 361.5 MB, free: 15.62 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.007271/0.9624, allocations: 3.634 MB / 365.1 MB, free: 13.13 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.9685, allocations: 2.175 MB / 367.3 MB, free: 11.23 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.9686, allocations: 6.438 kB / 367.3 MB, free: 11.23 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/0.9725, allocations: 1.253 MB / 368.5 MB, free: 10.11 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/0.9775, allocations: 444.7 kB / 369 MB, free: 9.773 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.9998, allocations: 12.56 MB / 381.5 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/1.004, allocations: 2.236 MB / 383.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/1.007, allocations: 0.8907 MB / 384.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/1.007, allocations: 0 / 384.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.503/4.51, allocations: 54.39 MB / 439 MB, free: 38.42 MB / 250.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat