Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.2 MB / 245 MB, free: 7.641 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008783, allocations: 85.92 kB / 297.2 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002378, allocations: 4 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3251, allocations: 87.65 MB / 497.1 MB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3254, allocations: 75.97 kB / 497.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2313/0.5567, allocations: 32.49 MB / 0.5173 GB, free: 85.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5567, allocations: 3.469 kB / 0.5173 GB, free: 85.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.5568, allocations: 62.09 kB / 0.5173 GB, free: 85.1 MB / 378.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.003923/0.5608, allocations: 2.091 MB / 0.5194 GB, free: 84.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5608, allocations: 11 kB / 0.5194 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000629/0.5615, allocations: 331.4 kB / 0.5197 GB, free: 84.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009153/0.5624, allocations: 295.6 kB / 0.52 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.5645, allocations: 1.258 MB / 0.5212 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.5646, allocations: 170.8 kB / 0.5214 GB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.5649, allocations: 219.8 kB / 0.5216 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.5684, allocations: 2.759 MB / 0.5243 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.5685, allocations: 4 kB / 0.5243 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.5686, allocations: 93.81 kB / 0.5244 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.5687, allocations: 52.53 kB / 0.5244 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.5713, allocations: 1.953 MB / 0.5263 GB, free: 81.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009215/0.5805, allocations: 7.711 MB / 0.5339 GB, free: 75.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.5815, allocations: 1.264 MB / 0.5351 GB, free: 73.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.5816, allocations: 8.562 kB / 0.5351 GB, free: 73.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5816, allocations: 43.12 kB / 0.5352 GB, free: 73.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.386e-06/0.5816, allocations: 7.594 kB / 0.5352 GB, free: 73.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003518/0.5851, allocations: 2.626 MB / 0.5377 GB, free: 71.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.5852, allocations: 59.97 kB / 0.5378 GB, free: 70.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.5859, allocations: 0.7027 MB / 0.5385 GB, free: 70.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.586, allocations: 41.45 kB / 0.5385 GB, free: 70.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.5863, allocations: 0.9253 MB / 0.5394 GB, free: 69.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5864, allocations: 216.8 kB / 0.5396 GB, free: 69.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.5865, allocations: 16 kB / 0.5396 GB, free: 69.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.5866, allocations: 398.7 kB / 0.54 GB, free: 68.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.587, allocations: 373.7 kB / 0.5404 GB, free: 68.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.5876, allocations: 0.5907 MB / 0.541 GB, free: 67.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.5881, allocations: 477.9 kB / 0.5414 GB, free: 67.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5881, allocations: 0 / 0.5414 GB, free: 67.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0014/0.5895, allocations: 1.163 MB / 0.5425 GB, free: 65.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5896, allocations: 8 kB / 0.5426 GB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.5896, allocations: 8 kB / 0.5426 GB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.5898, allocations: 91.12 kB / 0.5426 GB, free: 65.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.5904, allocations: 187.8 kB / 0.5428 GB, free: 65.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.5918, allocations: 1.936 MB / 0.5447 GB, free: 63.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.5923, allocations: 43.97 kB / 0.5448 GB, free: 63.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.5923, allocations: 35.89 kB / 0.5448 GB, free: 63.49 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008423/0.5932, allocations: 0.6419 MB / 0.5454 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5933, allocations: 83.12 kB / 0.5455 GB, free: 62.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.5945, allocations: 0.9447 MB / 0.5464 GB, free: 61.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5946, allocations: 4 kB / 0.5464 GB, free: 61.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5946, allocations: 4.25 kB / 0.5464 GB, free: 61.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5946, allocations: 3.984 kB / 0.5464 GB, free: 61.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.5982, allocations: 2.659 MB / 0.549 GB, free: 59.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.5982, allocations: 0 / 0.549 GB, free: 59.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.5986, allocations: 111.9 kB / 0.5491 GB, free: 58.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.5988, allocations: 88.75 kB / 0.5492 GB, free: 58.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.5989, allocations: 19.92 kB / 0.5492 GB, free: 58.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.6001, allocations: 1.919 MB / 0.5511 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6001, allocations: 0 / 0.5511 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.6017, allocations: 1.457 MB / 0.5525 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.6021, allocations: 228.1 kB / 0.5528 GB, free: 55.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.6022, allocations: 12 kB / 0.5528 GB, free: 55.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.6026, allocations: 48.02 kB / 0.5528 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.6027, allocations: 44.45 kB / 0.5529 GB, free: 54.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.6028, allocations: 23.98 kB / 0.5529 GB, free: 54.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005734/0.6034, allocations: 0.5497 MB / 0.5534 GB, free: 54.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6034, allocations: 0 / 0.5534 GB, free: 54.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009625/0.6043, allocations: 311.9 kB / 0.5537 GB, free: 54.11 MB / 378.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 (56): * Single equations (assignments): 53 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001894/0.6062, allocations: 2.179 MB / 0.5558 GB, free: 51.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.6076, allocations: 1.072 MB / 0.5569 GB, free: 50.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6076, allocations: 3.984 kB / 0.5569 GB, free: 50.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.6083, allocations: 0.5995 MB / 0.5575 GB, free: 50.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.6091, allocations: 204.9 kB / 0.5577 GB, free: 49.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009803/0.6189, allocations: 12.54 MB / 0.5699 GB, free: 37.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.62, allocations: 1.756 MB / 0.5716 GB, free: 35.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.6206, allocations: 202.9 kB / 0.5718 GB, free: 35.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.6212, allocations: 0.6385 MB / 0.5725 GB, free: 34.54 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6212, allocations: 0 / 0.5725 GB, free: 34.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.6559, allocations: 22.17 MB / 0.5941 GB, free: 12.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/0.6561, allocations: 197.5 kB / 0.5943 GB, free: 12.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.941, allocations: 0 / 0.5943 GB, free: 12.41 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat