Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009898/0.0009898, allocations: 197.5 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.218/1.218, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008992/0.0008993, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001954/0.0001955, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1723, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08641/0.2588, allocations: 81.34 MB / 490.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.259, allocations: 78.91 kB / 490.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.2815, allocations: 9.16 MB / 0.4884 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2815, allocations: 0 / 0.4884 GB, free: 15.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.2816, allocations: 12 kB / 0.4884 GB, free: 15.94 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001135/0.2827, allocations: 0.8222 MB / 0.4892 GB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2827, allocations: 15.97 kB / 0.4892 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.2829, allocations: 107.7 kB / 0.4893 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.2832, allocations: 111.1 kB / 0.4894 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.2836, allocations: 368.9 kB / 0.4897 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2837, allocations: 37.31 kB / 0.4898 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.2837, allocations: 56 kB / 0.4898 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/0.2846, allocations: 0.5661 MB / 0.4904 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2846, allocations: 0 / 0.4904 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.2846, allocations: 31.98 kB / 0.4904 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.2847, allocations: 12 kB / 0.4904 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.2854, allocations: 480.8 kB / 0.4909 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.288, allocations: 2.118 MB / 0.493 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.2888, allocations: 0.6296 MB / 0.4936 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2888, allocations: 8.562 kB / 0.4936 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2889, allocations: 51.06 kB / 0.4936 GB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.2889, allocations: 0 / 0.4936 GB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.003623/0.2925, allocations: 1.983 MB / 0.4956 GB, free: 8.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2925, allocations: 59.97 kB / 0.4956 GB, free: 8.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.2928, allocations: 316.9 kB / 0.4959 GB, free: 7.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2929, allocations: 33.7 kB / 0.496 GB, free: 7.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.293, allocations: 241 kB / 0.4962 GB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2932, allocations: 205 kB / 0.4964 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.2932, allocations: 12 kB / 0.4964 GB, free: 7.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2933, allocations: 358.8 kB / 0.4967 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.2937, allocations: 173 kB / 0.4969 GB, free: 6.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2941, allocations: 219.8 kB / 0.4971 GB, free: 6.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.2946, allocations: 178.2 kB / 0.4973 GB, free: 6.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2946, allocations: 0 / 0.4973 GB, free: 6.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001207/0.2958, allocations: 0.6812 MB / 0.4979 GB, free: 5.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2958, allocations: 7.938 kB / 0.498 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2959, allocations: 0 / 0.498 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006834/0.2965, allocations: 255.2 kB / 0.4982 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2968, allocations: 67.94 kB / 0.4983 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1606/0.4575, allocations: 6.824 MB / 0.5049 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.4578, allocations: 22.56 kB / 0.5049 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.4579, allocations: 14.47 kB / 0.505 GB, free: 91.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.4581, allocations: 179.9 kB / 0.5051 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.4582, allocations: 50.64 kB / 0.5052 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4583, allocations: 68.94 kB / 0.5052 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4583, allocations: 7 kB / 0.5053 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4584, allocations: 6 kB / 0.5053 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4584, allocations: 4.406 kB / 0.5053 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4605, allocations: 1.358 MB / 0.5066 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4605, allocations: 0 / 0.5066 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.4608, allocations: 57.34 kB / 0.5066 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.4614, allocations: 258.4 kB / 0.5069 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.4615, allocations: 13.89 kB / 0.5069 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00468/0.4662, allocations: 6.843 MB / 0.5136 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4662, allocations: 0 / 0.5136 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4681, allocations: 1.041 MB / 0.5146 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.4683, allocations: 162.5 kB / 0.5148 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.4683, allocations: 10.75 kB / 0.5148 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.4686, allocations: 23.3 kB / 0.5148 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4688, allocations: 58.58 kB / 0.5148 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.4688, allocations: 14.69 kB / 0.5149 GB, free: 84.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.469, allocations: 252 kB / 0.5151 GB, free: 84.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.469, allocations: 2.734 kB / 0.5151 GB, free: 84.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.4699, allocations: 184.7 kB / 0.5153 GB, free: 84.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/0.4714, allocations: 1.612 MB / 0.5169 GB, free: 83.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.4726, allocations: 1.033 MB / 0.5179 GB, free: 82.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4727, allocations: 0 / 0.5179 GB, free: 82.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.4735, allocations: 0.8457 MB / 0.5187 GB, free: 82.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4738, allocations: 73.69 kB / 0.5188 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.4779, allocations: 3.588 MB / 0.5223 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.4782, allocations: 0.8955 MB / 0.5231 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.4783, allocations: 53.69 kB / 0.5232 GB, free: 79.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4785, allocations: 176.7 kB / 0.5234 GB, free: 79.58 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4785, allocations: 0 / 0.5234 GB, free: 79.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.5008, allocations: 12.18 MB / 0.5352 GB, free: 71.37 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.501, allocations: 213.8 kB / 0.5355 GB, free: 71.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.641, allocations: 0 / 0.5355 GB, free: 71.12 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat