Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_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.001549/0.001549, allocations: 196.9 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.549/1.549, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009009/0.0009009, allocations: 96.84 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.862e-05, allocations: 4 kB / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4763, allocations: 87.45 MB / 489.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4766, allocations: 77.8 kB / 489.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08293/0.5595, allocations: 32.94 MB / 0.5103 GB, free: 2.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5596, allocations: 0 / 0.5103 GB, free: 2.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001748/0.5598, allocations: 55.94 kB / 0.5104 GB, free: 2.594 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005255/0.565, allocations: 1.954 MB / 0.5123 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.5651, allocations: 8.031 kB / 0.5123 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009919/0.5661, allocations: 307.5 kB / 0.5126 GB, free: 272 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.5673, allocations: 273.2 kB / 0.5129 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.5703, allocations: 1.216 MB / 0.5141 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5705, allocations: 157.7 kB / 0.5142 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/0.5712, allocations: 200 kB / 0.5144 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006185/0.5774, allocations: 2.536 MB / 0.5169 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.5775, allocations: 4 kB / 0.5169 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004348/0.5779, allocations: 88 kB / 0.517 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.578, allocations: 51.98 kB / 0.517 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.5821, allocations: 1.867 MB / 0.5188 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.5971, allocations: 7.512 MB / 0.5262 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.5996, allocations: 2.327 MB / 0.5284 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.601, allocations: 0.8993 MB / 0.5293 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.6011, allocations: 8.781 kB / 0.5293 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.6012, allocations: 51.33 kB / 0.5294 GB, free: 14.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.609e-06/0.6012, allocations: 0 / 0.5294 GB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005349/0.6065, allocations: 2.944 MB / 0.5323 GB, free: 11.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.6066, allocations: 60.19 kB / 0.5323 GB, free: 11.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.6081, allocations: 0.754 MB / 0.533 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.6081, allocations: 45.7 kB / 0.5331 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005566/0.6087, allocations: 0.8372 MB / 0.5339 GB, free: 9.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.609, allocations: 323.3 kB / 0.5342 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.609, allocations: 20 kB / 0.5342 GB, free: 9.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6092, allocations: 345.9 kB / 0.5346 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007153/0.6099, allocations: 481.8 kB / 0.535 GB, free: 8.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.6107, allocations: 0.6467 MB / 0.5357 GB, free: 7.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.6115, allocations: 0.5591 MB / 0.5362 GB, free: 7.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6116, allocations: 0 / 0.5362 GB, free: 7.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002646/0.6142, allocations: 1.589 MB / 0.5378 GB, free: 5.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6143, allocations: 5.406 kB / 0.5378 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/0.6143, allocations: 11.98 kB / 0.5378 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.6154, allocations: 468.5 kB / 0.5382 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.6162, allocations: 171.7 kB / 0.5384 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/0.6253, allocations: 8.445 MB / 0.5466 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/0.6263, allocations: 47.95 kB / 0.5467 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.6266, allocations: 36.19 kB / 0.5467 GB, free: 11.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * 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: 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.0003049/0.6269, allocations: 160.9 kB / 0.5469 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.6272, allocations: 106.7 kB / 0.547 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.6297, allocations: 1.49 MB / 0.5484 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6297, allocations: 16 kB / 0.5484 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6297, allocations: 3.984 kB / 0.5484 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6297, allocations: 3.984 kB / 0.5484 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/0.6361, allocations: 3.47 MB / 0.5518 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.6362, allocations: 4 kB / 0.5518 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.6368, allocations: 131.9 kB / 0.552 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.6378, allocations: 454.9 kB / 0.5524 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/0.6379, allocations: 19.98 kB / 0.5524 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008032/0.646, allocations: 8.346 MB / 0.5606 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.646, allocations: 8.188 kB / 0.5606 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.6495, allocations: 2.277 MB / 0.5628 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.6503, allocations: 279.8 kB / 0.5631 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.6506, allocations: 20 kB / 0.5631 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.6512, allocations: 43.95 kB / 0.5631 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.6515, allocations: 92.61 kB / 0.5632 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.6516, allocations: 28.11 kB / 0.5632 GB, free: 10.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.6526, allocations: 0.5966 MB / 0.5638 GB, free: 9.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6526, allocations: 0 / 0.5638 GB, free: 9.695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0019/0.6545, allocations: 388 kB / 0.5642 GB, free: 9.316 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * 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: 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.004065/0.6586, allocations: 3.029 MB / 0.5671 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.6615, allocations: 1.831 MB / 0.5689 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6615, allocations: 0 / 0.5689 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.6633, allocations: 1.26 MB / 0.5702 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.6648, allocations: 270.2 kB / 0.5704 GB, free: 2.754 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2173/0.882, allocations: 3.424 MB / 0.5738 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.8833, allocations: 1.757 MB / 0.5755 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006244/0.884, allocations: 181.2 kB / 0.5757 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.8846, allocations: 0.6246 MB / 0.5763 GB, free: 103.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8846, allocations: 0 / 0.5763 GB, free: 103.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.9624, allocations: 30.95 MB / 0.6065 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.9626, allocations: 179.7 kB / 0.6067 GB, free: 101.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.869, allocations: 0 / 0.6067 GB, free: 101.6 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat