Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.000826, allocations: 83.64 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.04e-05, allocations: 4 kB / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 50.41 MB / 394.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4294, allocations: 86.77 MB / 481.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4297, allocations: 79.95 kB / 481.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07854/0.5083, allocations: 32.52 MB / 0.5017 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5083, allocations: 0 / 0.5017 GB, free: 15.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001175/0.5085, allocations: 59.94 kB / 0.5017 GB, free: 15.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004799/0.5133, allocations: 1.964 MB / 0.5036 GB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5133, allocations: 8.031 kB / 0.5037 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004962/0.5138, allocations: 332.6 kB / 0.504 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000724/0.5146, allocations: 257.2 kB / 0.5042 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.517, allocations: 1.25 MB / 0.5054 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.5173, allocations: 168.5 kB / 0.5056 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004158/0.5177, allocations: 219.9 kB / 0.5058 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.5228, allocations: 2.694 MB / 0.5084 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/0.5229, allocations: 0 / 0.5084 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.5231, allocations: 104 kB / 0.5085 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.5232, allocations: 55.95 kB / 0.5086 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.5269, allocations: 1.877 MB / 0.5104 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.5393, allocations: 7.718 MB / 0.518 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5405, allocations: 1.231 MB / 0.5192 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/0.5414, allocations: 0.6024 MB / 0.5198 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.5415, allocations: 4.562 kB / 0.5198 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5415, allocations: 47.09 kB / 0.5198 GB, free: 12.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 5.791e-06/0.5415, allocations: 3.938 kB / 0.5198 GB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.003761/0.5453, allocations: 2.092 MB / 0.5218 GB, free: 10.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5454, allocations: 59.91 kB / 0.5219 GB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.5464, allocations: 0.6989 MB / 0.5226 GB, free: 9.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.5465, allocations: 37.7 kB / 0.5226 GB, free: 9.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005687/0.5471, allocations: 0.9176 MB / 0.5235 GB, free: 8.848 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5473, allocations: 220.8 kB / 0.5237 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.5473, allocations: 16 kB / 0.5237 GB, free: 8.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.5475, allocations: 394.7 kB / 0.5241 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.548, allocations: 349.6 kB / 0.5245 GB, free: 7.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.5487, allocations: 0.5665 MB / 0.525 GB, free: 7.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.5494, allocations: 451 kB / 0.5254 GB, free: 6.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5494, allocations: 4 kB / 0.5254 GB, free: 6.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001678/0.5511, allocations: 1.124 MB / 0.5265 GB, free: 5.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5511, allocations: 8 kB / 0.5265 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.5512, allocations: 8 kB / 0.5266 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.5515, allocations: 108.8 kB / 0.5267 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.5522, allocations: 179.8 kB / 0.5268 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.5543, allocations: 2.131 MB / 0.5289 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.5549, allocations: 39.97 kB / 0.5289 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.555, allocations: 36 kB / 0.529 GB, free: 2.996 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.5552, allocations: 160.7 kB / 0.5291 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5554, allocations: 79.16 kB / 0.5292 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.5569, allocations: 0.9018 MB / 0.5301 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5569, allocations: 7.984 kB / 0.5301 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5569, allocations: 11.95 kB / 0.5301 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5569, allocations: 0 / 0.5301 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.5613, allocations: 2.662 MB / 0.5327 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.5613, allocations: 4.156 kB / 0.5327 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.5618, allocations: 115.8 kB / 0.5328 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.562, allocations: 92.8 kB / 0.5329 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.5621, allocations: 19.92 kB / 0.5329 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.564, allocations: 2.084 MB / 0.535 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5641, allocations: 4.031 kB / 0.535 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.566, allocations: 1.447 MB / 0.5364 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.5664, allocations: 224 kB / 0.5366 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.5665, allocations: 20.19 kB / 0.5366 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.5669, allocations: 48.02 kB / 0.5367 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.567, allocations: 52.39 kB / 0.5367 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.5671, allocations: 19.98 kB / 0.5367 GB, free: 10.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007176/0.5678, allocations: 0.5421 MB / 0.5373 GB, free: 10.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5678, allocations: 0 / 0.5373 GB, free: 10.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001092/0.5689, allocations: 319.9 kB / 0.5376 GB, free: 9.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/0.5715, allocations: 2.375 MB / 0.5399 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.5731, allocations: 1.033 MB / 0.5409 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5731, allocations: 0.5625 kB / 0.5409 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.574, allocations: 0.5947 MB / 0.5415 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.575, allocations: 206.6 kB / 0.5417 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.5813, allocations: 3.064 MB / 0.5447 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.5827, allocations: 1.756 MB / 0.5464 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006191/0.5833, allocations: 195 kB / 0.5466 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2067/0.79, allocations: 0.6272 MB / 0.5472 GB, free: 113.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.79, allocations: 0 / 0.5472 GB, free: 113.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.838, allocations: 22.46 MB / 0.5691 GB, free: 112.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.8382, allocations: 172.3 kB / 0.5693 GB, free: 112 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.144, allocations: 2.953 kB / 0.5693 GB, free: 112 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat