Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009262, allocations: 100.5 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002488, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2171, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09847/0.3156, allocations: 86.7 MB / 488.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.316, allocations: 75.95 kB / 488.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.5641, allocations: 32.83 MB / 0.509 GB, free: 86.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5642, allocations: 0 / 0.509 GB, free: 86.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001772/0.5644, allocations: 53.98 kB / 0.509 GB, free: 86.08 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.005775/0.5702, allocations: 2.115 MB / 0.5111 GB, free: 85.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.5702, allocations: 10.75 kB / 0.5111 GB, free: 85.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.5714, allocations: 303 kB / 0.5114 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5724, allocations: 234.9 kB / 0.5116 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.5751, allocations: 1.215 MB / 0.5128 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.5752, allocations: 155.6 kB / 0.5129 GB, free: 84.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.5756, allocations: 202.2 kB / 0.5131 GB, free: 84.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00431/0.5799, allocations: 2.589 MB / 0.5157 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/0.58, allocations: 3.188 kB / 0.5157 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.5802, allocations: 92.73 kB / 0.5158 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.5803, allocations: 53.94 kB / 0.5158 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.5833, allocations: 1.945 MB / 0.5177 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.5933, allocations: 7.518 MB / 0.525 GB, free: 80.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.5951, allocations: 2.354 MB / 0.5273 GB, free: 78.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.5951, allocations: 11.72 kB / 0.5274 GB, free: 78.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5952, allocations: 47.03 kB / 0.5274 GB, free: 78.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.986e-06/0.5952, allocations: 0 / 0.5274 GB, free: 78.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006442/0.6016, allocations: 4.288 MB / 0.5316 GB, free: 76.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.6017, allocations: 64.06 kB / 0.5316 GB, free: 76.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6028, allocations: 0.7625 MB / 0.5324 GB, free: 75.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.6029, allocations: 45.7 kB / 0.5324 GB, free: 75.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.6033, allocations: 0.8208 MB / 0.5332 GB, free: 74.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6035, allocations: 325 kB / 0.5335 GB, free: 74.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.6035, allocations: 20 kB / 0.5336 GB, free: 74.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.6036, allocations: 351.5 kB / 0.5339 GB, free: 74.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.6043, allocations: 0.4959 MB / 0.5344 GB, free: 73.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.605, allocations: 0.6797 MB / 0.535 GB, free: 73.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.6058, allocations: 0.5794 MB / 0.5356 GB, free: 72.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6058, allocations: 0 / 0.5356 GB, free: 72.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002192/0.608, allocations: 1.644 MB / 0.5372 GB, free: 71.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6081, allocations: 12 kB / 0.5372 GB, free: 71.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.6081, allocations: 4 kB / 0.5372 GB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/0.6091, allocations: 469.2 kB / 0.5377 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.6098, allocations: 173.3 kB / 0.5378 GB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006645/0.6164, allocations: 8.61 MB / 0.5463 GB, free: 62.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.6172, allocations: 54.44 kB / 0.5463 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6173, allocations: 36 kB / 0.5463 GB, free: 62.1 MB / 378.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 () * Number of clocked 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.001035/0.6183, allocations: 0.6328 MB / 0.547 GB, free: 61.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.6186, allocations: 105.7 kB / 0.5471 GB, free: 61.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.6206, allocations: 1.55 MB / 0.5486 GB, free: 60.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6206, allocations: 12 kB / 0.5486 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6207, allocations: 0 / 0.5486 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6207, allocations: 3.609 kB / 0.5486 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/0.626, allocations: 3.53 MB / 0.552 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.626, allocations: 3.938 kB / 0.552 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.6266, allocations: 123.9 kB / 0.5522 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.6274, allocations: 462.6 kB / 0.5526 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.6275, allocations: 22.11 kB / 0.5526 GB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/0.6336, allocations: 8.538 MB / 0.561 GB, free: 47.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.6336, allocations: 0 / 0.561 GB, free: 47.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.6365, allocations: 2.356 MB / 0.5633 GB, free: 44.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.6371, allocations: 287.8 kB / 0.5635 GB, free: 44.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.6373, allocations: 16 kB / 0.5635 GB, free: 44.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.6378, allocations: 55.94 kB / 0.5636 GB, free: 44.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.638, allocations: 80.88 kB / 0.5637 GB, free: 44.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.6381, allocations: 24 kB / 0.5637 GB, free: 44.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000688/0.6387, allocations: 0.5966 MB / 0.5643 GB, free: 43.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6388, allocations: 0 / 0.5643 GB, free: 43.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001505/0.6403, allocations: 400 kB / 0.5647 GB, free: 43.27 MB / 378.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 () * Number of clocked 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.00312/0.6434, allocations: 3.118 MB / 0.5677 GB, free: 40.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.6457, allocations: 1.888 MB / 0.5696 GB, free: 38.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6457, allocations: 0 / 0.5696 GB, free: 38.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.647, allocations: 1.297 MB / 0.5708 GB, free: 36.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.6482, allocations: 279.3 kB / 0.5711 GB, free: 36.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6619, allocations: 12.65 MB / 0.5834 GB, free: 23.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.6633, allocations: 1.749 MB / 0.5851 GB, free: 21.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005783/0.6639, allocations: 188 kB / 0.5853 GB, free: 21.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.6646, allocations: 0.6243 MB / 0.5859 GB, free: 21.03 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6647, allocations: 0 / 0.5859 GB, free: 21.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04869/0.7134, allocations: 30.71 MB / 0.6159 GB, free: 6.836 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.7136, allocations: 209.5 kB / 0.6161 GB, free: 6.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.372, allocations: 0 / 0.6161 GB, free: 6.598 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat