Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.089/1.089, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.057e-05, allocations: 0 / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 25.16 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06315/0.2414, allocations: 35.84 MB / 212.5 MB, free: 13.51 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.2417, allocations: 63.97 kB / 212.5 MB, free: 13.45 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.2577, allocations: 3.72 MB / 216.3 MB, free: 9.711 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2577, allocations: 3.938 kB / 216.3 MB, free: 9.707 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.2578, allocations: 8 kB / 216.3 MB, free: 9.699 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009551/0.2587, allocations: 498.8 kB / 216.8 MB, free: 9.168 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2588, allocations: 12.03 kB / 216.8 MB, free: 9.156 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/0.2589, allocations: 50.55 kB / 216.8 MB, free: 9.098 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.259, allocations: 31.62 kB / 216.9 MB, free: 9.066 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.2594, allocations: 243 kB / 217.1 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2594, allocations: 16.44 kB / 217.1 MB, free: 8.773 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.2595, allocations: 20 kB / 217.1 MB, free: 8.754 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.26, allocations: 217.9 kB / 217.3 MB, free: 8.527 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2601, allocations: 7.938 kB / 217.4 MB, free: 8.52 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.2601, allocations: 7.953 kB / 217.4 MB, free: 8.512 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2602, allocations: 4 kB / 217.4 MB, free: 8.508 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.2606, allocations: 144.9 kB / 217.5 MB, free: 8.367 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.2627, allocations: 0.964 MB / 218.5 MB, free: 7.324 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.2632, allocations: 158.6 kB / 218.6 MB, free: 7.16 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.2635, allocations: 93.17 kB / 218.7 MB, free: 7.066 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2636, allocations: 7.891 kB / 218.7 MB, free: 7.059 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2636, allocations: 38.55 kB / 218.8 MB, free: 7.012 MB / 186.7 MB Notification: Performance of pre-optimization done (n=18): time 3.356e-06/0.2636, allocations: 0 / 218.8 MB, free: 7.012 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007505/0.2644, allocations: 211.8 kB / 219 MB, free: 6.793 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2645, allocations: 51.41 kB / 219 MB, free: 6.73 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2648, allocations: 191.9 kB / 219.2 MB, free: 6.539 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2649, allocations: 25.7 kB / 219.2 MB, free: 6.508 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.265, allocations: 210.5 kB / 219.4 MB, free: 6.301 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.2651, allocations: 51.27 kB / 219.5 MB, free: 6.25 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.2651, allocations: 4 kB / 219.5 MB, free: 6.246 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2653, allocations: 326.8 kB / 219.8 MB, free: 5.918 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2654, allocations: 44.38 kB / 219.9 MB, free: 5.871 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2656, allocations: 62.28 kB / 219.9 MB, free: 5.805 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2658, allocations: 52.48 kB / 220 MB, free: 5.754 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2658, allocations: 3.938 kB / 220 MB, free: 5.75 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006187/0.2664, allocations: 216 kB / 220.2 MB, free: 5.531 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.2665, allocations: 12.81 kB / 220.2 MB, free: 5.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2665, allocations: 3.984 kB / 220.2 MB, free: 5.516 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.2669, allocations: 73.62 kB / 220.3 MB, free: 5.438 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2672, allocations: 23.98 kB / 220.3 MB, free: 5.414 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.2706, allocations: 2.966 MB / 223.3 MB, free: 2.176 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2709, allocations: 23.81 kB / 223.3 MB, free: 2.152 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.271, allocations: 4 kB / 223.3 MB, free: 2.148 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: IdealThyristor1.off:DISCRETE(start = true fixed = false ) "Switching state" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.IdealThyristor1.off,IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.2711, allocations: 121 kB / 223.4 MB, free: 2.023 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.2712, allocations: 19.8 kB / 223.4 MB, free: 2.004 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.2713, allocations: 25.61 kB / 223.4 MB, free: 1.973 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2713, allocations: 4 kB / 223.5 MB, free: 1.969 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2713, allocations: 0 / 223.5 MB, free: 1.969 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2714, allocations: 4.172 kB / 223.5 MB, free: 1.965 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2725, allocations: 0.5806 MB / 224 MB, free: 1.32 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2725, allocations: 8.031 kB / 224 MB, free: 1.312 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2727, allocations: 19.94 kB / 224.1 MB, free: 1.293 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.2731, allocations: 73.67 kB / 224.1 MB, free: 1.215 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.2731, allocations: 4 kB / 224.1 MB, free: 1.211 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.2764, allocations: 2.885 MB / 227 MB, free: 14.06 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.2764, allocations: 3.984 kB / 227 MB, free: 14.06 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.277, allocations: 319.4 kB / 227.3 MB, free: 13.71 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2772, allocations: 104.9 kB / 227.4 MB, free: 13.59 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.2773, allocations: 4 kB / 227.4 MB, free: 13.59 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.2776, allocations: 19.98 kB / 227.5 MB, free: 13.57 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2777, allocations: 19.97 kB / 227.5 MB, free: 13.55 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2777, allocations: 7.953 kB / 227.5 MB, free: 13.54 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.278, allocations: 160.6 kB / 227.6 MB, free: 13.39 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.278, allocations: 4 kB / 227.7 MB, free: 13.38 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000682/0.2787, allocations: 71.84 kB / 227.7 MB, free: 13.31 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 1 (IdealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009457/0.2796, allocations: 0.924 MB / 228.6 MB, free: 12.35 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.2804, allocations: 363.3 kB / 229 MB, free: 11.98 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2805, allocations: 0 / 229 MB, free: 11.98 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.2809, allocations: 299.5 kB / 229.3 MB, free: 11.66 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.2816, allocations: 64.52 kB / 229.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2829, allocations: 352.4 kB / 229.7 MB, free: 11.21 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2833, allocations: 0.7555 MB / 230.5 MB, free: 10.43 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.2834, allocations: 63.41 kB / 230.5 MB, free: 10.37 MB / 202.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2834, allocations: 0 / 230.5 MB, free: 10.37 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/2.915, allocations: 5.28 MB / 235.8 MB, free: 5.098 MB / 202.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat