Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 11.98 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2862, allocations: 44.49 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4249, allocations: 77.98 MB / 386.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4252, allocations: 75.97 kB / 386.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0871/0.5124, allocations: 21.13 MB / 407.7 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5124, allocations: 4 kB / 407.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.5125, allocations: 39.94 kB / 407.8 MB, free: 9.199 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.004686/0.5172, allocations: 1.522 MB / 409.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.5173, allocations: 12.03 kB / 409.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004807/0.5178, allocations: 210.9 kB / 409.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.5185, allocations: 178.2 kB / 409.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.5209, allocations: 0.9312 MB / 410.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.521, allocations: 106.8 kB / 410.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.5213, allocations: 135.9 kB / 410.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.5265, allocations: 1.828 MB / 412.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.5266, allocations: 0 / 412.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.5268, allocations: 68 kB / 412.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.5268, allocations: 32 kB / 412.8 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.5312, allocations: 1.377 MB / 414.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2637/0.7949, allocations: 4.999 MB / 419.2 MB, free: 84.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.7967, allocations: 0.9749 MB / 420.1 MB, free: 83.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.7968, allocations: 12.58 kB / 420.2 MB, free: 83.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.7969, allocations: 34.25 kB / 420.2 MB, free: 83.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 4.298e-06/0.7969, allocations: 0 / 420.2 MB, free: 83.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.009456/0.8064, allocations: 1.831 MB / 422 MB, free: 83.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.8065, allocations: 61.5 kB / 422.1 MB, free: 83.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.8081, allocations: 0.6097 MB / 422.7 MB, free: 82.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.8082, allocations: 31.77 kB / 422.7 MB, free: 82.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.8087, allocations: 0.6132 MB / 423.3 MB, free: 82.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8089, allocations: 153.9 kB / 423.5 MB, free: 82.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.809, allocations: 8.062 kB / 423.5 MB, free: 82.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8092, allocations: 385.2 kB / 423.9 MB, free: 82.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/0.8102, allocations: 280 kB / 424.1 MB, free: 82.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.8112, allocations: 411.9 kB / 424.5 MB, free: 82.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.8215, allocations: 350.9 kB / 424.9 MB, free: 82.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8215, allocations: 0 / 424.9 MB, free: 82.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005965/0.8275, allocations: 0.8582 MB / 425.7 MB, free: 81.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.8276, allocations: 11.83 kB / 425.8 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.8276, allocations: 6.125 kB / 425.8 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.828, allocations: 82.34 kB / 425.8 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.8292, allocations: 116.4 kB / 426 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008034/0.8372, allocations: 1.944 MB / 427.9 MB, free: 80.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.8383, allocations: 33.31 kB / 427.9 MB, free: 80.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.8384, allocations: 24.62 kB / 428 MB, free: 80.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004457/0.8429, allocations: 0.4954 MB / 428.4 MB, free: 80.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.8432, allocations: 66.97 kB / 428.5 MB, free: 80.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.8435, allocations: 77.95 kB / 428.6 MB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.8436, allocations: 3.156 kB / 428.6 MB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.8436, allocations: 3.938 kB / 428.6 MB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.8436, allocations: 3.375 kB / 428.6 MB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.8548, allocations: 1.969 MB / 430.6 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.8549, allocations: 7.094 kB / 430.6 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/0.8588, allocations: 78.94 kB / 430.7 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.8592, allocations: 78.38 kB / 430.7 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.8593, allocations: 14.84 kB / 430.7 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.8621, allocations: 1.911 MB / 432.7 MB, free: 78.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8622, allocations: 3.812 kB / 432.7 MB, free: 78.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.8653, allocations: 1.111 MB / 433.8 MB, free: 78.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.8658, allocations: 197.6 kB / 434 MB, free: 78.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.8659, allocations: 15.3 kB / 434 MB, free: 78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.8665, allocations: 37.12 kB / 434 MB, free: 77.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8667, allocations: 39.03 kB / 434.1 MB, free: 77.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.8667, allocations: 18.83 kB / 434.1 MB, free: 77.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008693/0.8676, allocations: 482.6 kB / 434.5 MB, free: 77.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8676, allocations: 3.219 kB / 434.5 MB, free: 77.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00105/0.8687, allocations: 198.7 kB / 434.7 MB, free: 77.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002555/0.8713, allocations: 1.807 MB / 436.5 MB, free: 76.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.873, allocations: 0.7566 MB / 437.3 MB, free: 76.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8731, allocations: 0 / 437.3 MB, free: 76.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009312/0.874, allocations: 451.5 kB / 437.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8753, allocations: 157.3 kB / 437.9 MB, free: 76.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.8872, allocations: 8.541 MB / 446.4 MB, free: 70.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.8884, allocations: 1.447 MB / 447.9 MB, free: 69.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007517/0.8892, allocations: 172.2 kB / 448.1 MB, free: 69.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.8898, allocations: 404.6 kB / 448.4 MB, free: 69.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8899, allocations: 0 / 448.4 MB, free: 69.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.9392, allocations: 16.58 MB / 465 MB, free: 55.36 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.9395, allocations: 202.5 kB / 465.2 MB, free: 55.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.987, allocations: 0 / 465.2 MB, free: 55.12 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat