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.00118/0.00118, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.817/1.817, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 94.45 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.714e-05, allocations: 7.984 kB / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 51.47 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.528, allocations: 86.91 MB / 482.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5283, allocations: 74.47 kB / 482.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07647/0.6048, allocations: 32.27 MB / 0.5025 GB, free: 11.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6048, allocations: 0 / 0.5025 GB, free: 11.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.605, allocations: 59.94 kB / 0.5025 GB, free: 11.02 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.004824/0.6098, allocations: 1.97 MB / 0.5044 GB, free: 9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6099, allocations: 8.031 kB / 0.5044 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6111, allocations: 289.2 kB / 0.5047 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.6137, allocations: 1.246 MB / 0.5059 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.6138, allocations: 72 kB / 0.506 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.6143, allocations: 132 kB / 0.5061 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003648/0.6179, allocations: 1.762 MB / 0.5079 GB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005006/0.623, allocations: 2.374 MB / 0.5102 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.623, allocations: 0 / 0.5102 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.6233, allocations: 0 / 0.5102 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.6234, allocations: 60 kB / 0.5102 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.6372, allocations: 7.294 MB / 0.5173 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.6385, allocations: 1.209 MB / 0.5185 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009486/0.6395, allocations: 0.5712 MB / 0.5191 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.464e-05/0.6396, allocations: 16.55 kB / 0.5191 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6396, allocations: 35.12 kB / 0.5191 GB, free: 9.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.6396, allocations: 0 / 0.5191 GB, free: 9.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.003996/0.6436, allocations: 1.994 MB / 0.5211 GB, free: 7.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.6437, allocations: 67.91 kB / 0.5211 GB, free: 7.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.6449, allocations: 0.6402 MB / 0.5218 GB, free: 6.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.645, allocations: 25.7 kB / 0.5218 GB, free: 6.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/0.6456, allocations: 0.9214 MB / 0.5227 GB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.6458, allocations: 216.8 kB / 0.5229 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.6459, allocations: 0 / 0.5229 GB, free: 5.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.6461, allocations: 386.8 kB / 0.5233 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.6465, allocations: 337.9 kB / 0.5236 GB, free: 4.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.6472, allocations: 0.5433 MB / 0.5241 GB, free: 4.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.6478, allocations: 437.8 kB / 0.5245 GB, free: 3.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6478, allocations: 0 / 0.5245 GB, free: 3.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001736/0.6496, allocations: 1.038 MB / 0.5256 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.6496, allocations: 8 kB / 0.5256 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.6497, allocations: 12 kB / 0.5256 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.65, allocations: 104.7 kB / 0.5257 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.6507, allocations: 183.8 kB / 0.5259 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6527, allocations: 2.06 MB / 0.5279 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/0.6533, allocations: 23.97 kB / 0.5279 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.6534, allocations: 35.98 kB / 0.5279 GB, free: 80 kB / 394.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.0001876/0.6536, allocations: 128.8 kB / 0.528 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00129/0.6549, allocations: 0.7876 MB / 0.5288 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.6551, allocations: 83.02 kB / 0.5289 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.6564, allocations: 0.8472 MB / 0.5297 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.6565, allocations: 7.984 kB / 0.5297 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6565, allocations: 4 kB / 0.5297 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6565, allocations: 0 / 0.5297 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.6606, allocations: 2.307 MB / 0.532 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.6606, allocations: 4 kB / 0.532 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.6611, allocations: 111.8 kB / 0.5321 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.6614, allocations: 101 kB / 0.5322 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.6614, allocations: 16 kB / 0.5322 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.6632, allocations: 2.001 MB / 0.5342 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6632, allocations: 8.062 kB / 0.5342 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.665, allocations: 1.393 MB / 0.5355 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.6653, allocations: 224.1 kB / 0.5357 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.6655, allocations: 7.984 kB / 0.5357 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.666, allocations: 27.97 kB / 0.5358 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6661, allocations: 56.38 kB / 0.5358 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.6661, allocations: 20.06 kB / 0.5358 GB, free: 7.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006779/0.6668, allocations: 0.4952 MB / 0.5363 GB, free: 7.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6668, allocations: 0 / 0.5363 GB, free: 7.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001229/0.6681, allocations: 288 kB / 0.5366 GB, free: 6.879 MB / 410.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.002302/0.6704, allocations: 2.316 MB / 0.5389 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.6718, allocations: 0.9839 MB / 0.5398 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6718, allocations: 320 / 0.5398 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.6726, allocations: 0.5771 MB / 0.5404 GB, free: 2.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.6736, allocations: 182.4 kB / 0.5406 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.6795, allocations: 2.997 MB / 0.5435 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.6811, allocations: 1.759 MB / 0.5452 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006344/0.6818, allocations: 194.8 kB / 0.5454 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/0.6826, allocations: 0.6321 MB / 0.546 GB, free: 13.03 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6826, allocations: 0 / 0.546 GB, free: 13.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.732, allocations: 20.96 MB / 0.5665 GB, free: 8.199 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.7322, allocations: 145.8 kB / 0.5666 GB, free: 8.004 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.351, allocations: 0 / 0.5666 GB, free: 8.004 MB / 442.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