Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09209, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.4915, allocations: 77.97 MB / 386.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4918, allocations: 75.94 kB / 386.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07661/0.5685, allocations: 21.14 MB / 407.7 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5685, allocations: 0 / 407.7 MB, free: 10 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.5687, allocations: 38.38 kB / 407.8 MB, free: 9.992 MB / 314.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.004598/0.5733, allocations: 1.521 MB / 409.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5733, allocations: 11.62 kB / 409.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007341/0.5741, allocations: 219.5 kB / 409.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.5749, allocations: 171.3 kB / 409.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.5773, allocations: 0.9312 MB / 410.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.5774, allocations: 107.5 kB / 410.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.5777, allocations: 139.8 kB / 410.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.5823, allocations: 1.835 MB / 412.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.5824, allocations: 3.938 kB / 412.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.5826, allocations: 58.25 kB / 412.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.5826, allocations: 34.88 kB / 412.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.5865, allocations: 1.366 MB / 414.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.598, allocations: 5.009 MB / 419.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5993, allocations: 0.9795 MB / 420.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.554e-05/0.5994, allocations: 7.375 kB / 420.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5995, allocations: 37.78 kB / 420.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.745e-06/0.5995, allocations: 4 kB / 420.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004413/0.6039, allocations: 1.825 MB / 422 MB, free: 3.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.604, allocations: 59.25 kB / 422.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6051, allocations: 0.613 MB / 422.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.6052, allocations: 30.7 kB / 422.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.6055, allocations: 0.6404 MB / 423.3 MB, free: 3.203 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6056, allocations: 149.2 kB / 423.5 MB, free: 3.102 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.6057, allocations: 17.88 kB / 423.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.6058, allocations: 337 kB / 423.8 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.6065, allocations: 281.6 kB / 424.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/0.6072, allocations: 417.5 kB / 424.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.6079, allocations: 344.8 kB / 424.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.608, allocations: 7.984 kB / 424.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001826/0.6098, allocations: 0.8153 MB / 425.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.6098, allocations: 7.469 kB / 425.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6099, allocations: 3.875 kB / 425.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.6102, allocations: 81.48 kB / 425.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.6111, allocations: 123.8 kB / 425.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.6133, allocations: 1.93 MB / 427.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.6141, allocations: 30.28 kB / 427.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.6141, allocations: 22.78 kB / 427.9 MB, free: 0.6914 MB / 314.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.001016/0.6152, allocations: 0.5007 MB / 428.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.6153, allocations: 68.11 kB / 428.4 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.6156, allocations: 79.88 kB / 428.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6156, allocations: 3.875 kB / 428.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6156, allocations: 0 / 428.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6156, allocations: 0 / 428.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.6202, allocations: 1.971 MB / 430.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.6202, allocations: 3.984 kB / 430.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.6208, allocations: 76.14 kB / 430.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.6211, allocations: 75.08 kB / 430.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.6212, allocations: 14.55 kB / 430.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.6236, allocations: 1.923 MB / 432.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6237, allocations: 0 / 432.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.6262, allocations: 1.119 MB / 433.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.6267, allocations: 192.3 kB / 433.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.6269, allocations: 11.17 kB / 433.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.6275, allocations: 42.39 kB / 433.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.6276, allocations: 31.92 kB / 434 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.6277, allocations: 13.66 kB / 434 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000938/0.6286, allocations: 485.5 kB / 434.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6287, allocations: 0 / 434.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001113/0.6298, allocations: 206.9 kB / 434.7 MB, free: 13.01 MB / 330.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.002982/0.6328, allocations: 1.811 MB / 436.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.6348, allocations: 0.7603 MB / 437.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.6349, allocations: 7.812 kB / 437.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.636, allocations: 446.2 kB / 437.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.6374, allocations: 152 kB / 437.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.6522, allocations: 8.504 MB / 446.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.6537, allocations: 1.41 MB / 447.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009154/0.6547, allocations: 415.3 kB / 448.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6547, allocations: 0 / 448.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.085/3.74, allocations: 25.33 MB / 473.5 MB, free: 8.414 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat