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.00163/0.00163, allocations: 197 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.391/1.391, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 84.36 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.366e-05, allocations: 4 kB / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09972, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4364, allocations: 81.28 MB / 483.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4366, allocations: 66.09 kB / 483.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02177/0.4584, allocations: 9.182 MB / 492.7 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4584, allocations: 0 / 492.7 MB, free: 448 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.4585, allocations: 12 kB / 492.7 MB, free: 436 kB / 346.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.00135/0.4598, allocations: 0.759 MB / 493.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4599, allocations: 12.03 kB / 493.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.4601, allocations: 115.3 kB / 493.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.4605, allocations: 104.1 kB / 493.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.461, allocations: 365 kB / 494 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.4611, allocations: 46.31 kB / 494.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.4612, allocations: 55.11 kB / 494.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.4621, allocations: 0.54 MB / 494.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4621, allocations: 0 / 494.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.4621, allocations: 20 kB / 494.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4622, allocations: 20 kB / 494.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.4629, allocations: 429 kB / 495.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.4659, allocations: 2.113 MB / 497.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.4667, allocations: 0.6093 MB / 497.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.4673, allocations: 385.8 kB / 498.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.4673, allocations: 12.55 kB / 498.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4674, allocations: 39.12 kB / 498.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/0.4674, allocations: 0 / 498.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.002083/0.4695, allocations: 1.252 MB / 499.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.4695, allocations: 55.97 kB / 499.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.4699, allocations: 311.6 kB / 499.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.4699, allocations: 37.7 kB / 499.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.47, allocations: 240.9 kB / 0.4884 GB, free: 8.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4702, allocations: 197.1 kB / 0.4886 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.4702, allocations: 11.94 kB / 0.4886 GB, free: 8.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4704, allocations: 362.7 kB / 0.489 GB, free: 8.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.4706, allocations: 153.1 kB / 0.4891 GB, free: 8.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.4709, allocations: 187.9 kB / 0.4893 GB, free: 7.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.4712, allocations: 159.2 kB / 0.4894 GB, free: 7.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4712, allocations: 0 / 0.4894 GB, free: 7.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.4723, allocations: 0.6344 MB / 0.4901 GB, free: 7.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4723, allocations: 6.062 kB / 0.4901 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4723, allocations: 1.25 kB / 0.4901 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/0.473, allocations: 252.5 kB / 0.4903 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.4734, allocations: 65.59 kB / 0.4904 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/0.4796, allocations: 6.774 MB / 0.497 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.48, allocations: 16 kB / 0.497 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.48, allocations: 23.94 kB / 0.497 GB, free: 15.45 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 () * 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.000123/0.4801, allocations: 125 kB / 0.4971 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.4802, allocations: 51.44 kB / 0.4972 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.4804, allocations: 69.02 kB / 0.4973 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4804, allocations: 8 kB / 0.4973 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4804, allocations: 0 / 0.4973 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4804, allocations: 3.984 kB / 0.4973 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4823, allocations: 1.314 MB / 0.4985 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4823, allocations: 1.688 kB / 0.4985 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.4826, allocations: 63.91 kB / 0.4986 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000639/0.4833, allocations: 251.7 kB / 0.4989 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4833, allocations: 11.98 kB / 0.4989 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/0.4892, allocations: 6.763 MB / 0.5055 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4893, allocations: 7.984 kB / 0.5055 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.4908, allocations: 0.9688 MB / 0.5064 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.491, allocations: 164.4 kB / 0.5066 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.4911, allocations: 12 kB / 0.5066 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4914, allocations: 16 kB / 0.5066 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4915, allocations: 52.42 kB / 0.5067 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.4916, allocations: 19.98 kB / 0.5067 GB, free: 4.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.4919, allocations: 250.1 kB / 0.5069 GB, free: 4.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4919, allocations: 4 kB / 0.5069 GB, free: 4.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.4927, allocations: 184 kB / 0.5071 GB, free: 4.457 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 () * 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.001722/0.4944, allocations: 1.528 MB / 0.5086 GB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.4959, allocations: 0.9855 MB / 0.5095 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4959, allocations: 112 / 0.5095 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.4969, allocations: 0.8135 MB / 0.5103 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.4973, allocations: 75.83 kB / 0.5104 GB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4995, allocations: 1.131 MB / 0.5115 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.5, allocations: 0.8946 MB / 0.5124 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.5002, allocations: 52.53 kB / 0.5124 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5004, allocations: 177.1 kB / 0.5126 GB, free: 14.61 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5004, allocations: 0 / 0.5126 GB, free: 14.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.5277, allocations: 12.12 MB / 0.5244 GB, free: 2.793 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.5279, allocations: 187.7 kB / 0.5246 GB, free: 2.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.691, allocations: 0 / 0.5246 GB, free: 2.562 MB / 394.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