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.001464/0.001464, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001001, allocations: 88.09 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.385e-05, allocations: 0 / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.49, allocations: 87.58 MB / 489.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4903, allocations: 70.12 kB / 489.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07713/0.5674, allocations: 32.57 MB / 0.5101 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5675, allocations: 0 / 0.5101 GB, free: 2.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.5676, allocations: 51.94 kB / 0.5101 GB, free: 2.898 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.003681/0.5713, allocations: 1.974 MB / 0.5121 GB, free: 0.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5713, allocations: 12.02 kB / 0.5121 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003915/0.5717, allocations: 324.7 kB / 0.5124 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.5725, allocations: 293.2 kB / 0.5127 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.5748, allocations: 1.25 MB / 0.5139 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.575, allocations: 168.5 kB / 0.5141 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.5753, allocations: 224 kB / 0.5143 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.5796, allocations: 2.691 MB / 0.5169 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.5796, allocations: 0 / 0.5169 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.5798, allocations: 96 kB / 0.517 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.5799, allocations: 59.98 kB / 0.517 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.5828, allocations: 1.877 MB / 0.5189 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.594, allocations: 7.709 MB / 0.5264 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5951, allocations: 1.25 MB / 0.5276 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000936/0.5961, allocations: 0.5946 MB / 0.5282 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.5962, allocations: 12.56 kB / 0.5282 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.5962, allocations: 43.06 kB / 0.5283 GB, free: 15.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 2.956e-06/0.5962, allocations: 0 / 0.5283 GB, free: 15.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.003593/0.5998, allocations: 2.084 MB / 0.5303 GB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5999, allocations: 59.97 kB / 0.5304 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.6008, allocations: 0.7067 MB / 0.531 GB, free: 12.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.6009, allocations: 33.7 kB / 0.5311 GB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/0.6016, allocations: 0.9215 MB / 0.532 GB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.6018, allocations: 226.7 kB / 0.5322 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.6018, allocations: 16 kB / 0.5322 GB, free: 11.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.602, allocations: 390.8 kB / 0.5326 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.6025, allocations: 345.6 kB / 0.5329 GB, free: 10.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.6032, allocations: 0.5665 MB / 0.5335 GB, free: 10.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.6038, allocations: 458.9 kB / 0.5339 GB, free: 9.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6038, allocations: 4 kB / 0.5339 GB, free: 9.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001611/0.6054, allocations: 1.108 MB / 0.535 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.6055, allocations: 13.39 kB / 0.535 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.6055, allocations: 8.594 kB / 0.535 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.6058, allocations: 116.7 kB / 0.5351 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.6065, allocations: 171.8 kB / 0.5353 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.6087, allocations: 2.135 MB / 0.5374 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.6092, allocations: 44.03 kB / 0.5374 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.6092, allocations: 39.98 kB / 0.5374 GB, free: 5.949 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.0001519/0.6094, allocations: 150.9 kB / 0.5376 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.6096, allocations: 82.97 kB / 0.5377 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.611, allocations: 0.9019 MB / 0.5385 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.611, allocations: 7.984 kB / 0.5386 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.611, allocations: 4 kB / 0.5386 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.611, allocations: 4.047 kB / 0.5386 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.6154, allocations: 2.666 MB / 0.5412 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.6154, allocations: 11.92 kB / 0.5412 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.6159, allocations: 107.9 kB / 0.5413 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.6161, allocations: 104.9 kB / 0.5414 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.6162, allocations: 12 kB / 0.5414 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.6181, allocations: 2.072 MB / 0.5434 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6181, allocations: 0 / 0.5434 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.6201, allocations: 1.455 MB / 0.5448 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.6205, allocations: 224 kB / 0.5451 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.6206, allocations: 23.94 kB / 0.5451 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.621, allocations: 47.95 kB / 0.5451 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6211, allocations: 44.5 kB / 0.5452 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.6212, allocations: 24 kB / 0.5452 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.6219, allocations: 0.5421 MB / 0.5457 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6219, allocations: 0 / 0.5457 GB, free: 13.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001092/0.623, allocations: 315.9 kB / 0.546 GB, free: 12.85 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.002255/0.6252, allocations: 2.375 MB / 0.5483 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.6267, allocations: 1.037 MB / 0.5493 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6267, allocations: 0 / 0.5493 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.6275, allocations: 0.5947 MB / 0.5499 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.6285, allocations: 212.9 kB / 0.5501 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.6336, allocations: 3.051 MB / 0.5531 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.6349, allocations: 1.763 MB / 0.5548 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005436/0.6355, allocations: 191 kB / 0.555 GB, free: 3.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.6362, allocations: 0.6321 MB / 0.5556 GB, free: 2.789 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6362, allocations: 4 kB / 0.5556 GB, free: 2.785 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2902/0.9264, allocations: 22.46 MB / 0.5776 GB, free: 100.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.9267, allocations: 175.3 kB / 0.5777 GB, free: 100.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.365, allocations: 0 / 0.5777 GB, free: 100.3 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