Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 180.7 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 223.1 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 90.28 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2973, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09723/0.3946, allocations: 85.33 MB / 461.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.3949, allocations: 79.95 kB / 461.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07846/0.4734, allocations: 32.05 MB / 493.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4734, allocations: 0 / 493.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001954/0.4736, allocations: 59.88 kB / 493.4 MB, free: 10.93 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.005351/0.479, allocations: 2.098 MB / 495.5 MB, free: 8.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4791, allocations: 12.03 kB / 495.5 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009692/0.48, allocations: 303.5 kB / 495.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/0.481, allocations: 233.3 kB / 496.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.4834, allocations: 1.22 MB / 497.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4835, allocations: 152.2 kB / 497.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.4838, allocations: 200 kB / 497.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.4878, allocations: 2.598 MB / 0.4885 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.4878, allocations: 4 kB / 0.4885 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.488, allocations: 88 kB / 0.4886 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.4881, allocations: 52 kB / 0.4886 GB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.4911, allocations: 1.952 MB / 0.4905 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/0.6802, allocations: 7.516 MB / 0.4979 GB, free: 90.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.6822, allocations: 2.354 MB / 0.5002 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.6822, allocations: 12.67 kB / 0.5002 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6823, allocations: 45.88 kB / 0.5002 GB, free: 88.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/0.6823, allocations: 3.562 kB / 0.5002 GB, free: 88.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006676/0.689, allocations: 4.292 MB / 0.5044 GB, free: 87.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.689, allocations: 59.81 kB / 0.5045 GB, free: 87.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.6899, allocations: 0.7636 MB / 0.5052 GB, free: 87.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.69, allocations: 40.14 kB / 0.5053 GB, free: 87.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.6904, allocations: 0.8258 MB / 0.5061 GB, free: 87.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6905, allocations: 326.6 kB / 0.5064 GB, free: 87.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.6906, allocations: 19.12 kB / 0.5064 GB, free: 87.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.6907, allocations: 349.3 kB / 0.5067 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.6913, allocations: 0.4973 MB / 0.5072 GB, free: 86.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.692, allocations: 0.6821 MB / 0.5079 GB, free: 86.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.6927, allocations: 0.5767 MB / 0.5084 GB, free: 86.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6927, allocations: 3.438 kB / 0.5085 GB, free: 86.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002058/0.6948, allocations: 1.64 MB / 0.5101 GB, free: 86.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6948, allocations: 7.312 kB / 0.5101 GB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.6948, allocations: 9.797 kB / 0.5101 GB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/0.6957, allocations: 474.1 kB / 0.5105 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.6963, allocations: 172.1 kB / 0.5107 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.7026, allocations: 8.603 MB / 0.5191 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.7032, allocations: 53.23 kB / 0.5191 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.7033, allocations: 38.09 kB / 0.5192 GB, free: 79.76 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.001118/0.7044, allocations: 0.6409 MB / 0.5198 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.7047, allocations: 101.6 kB / 0.5199 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.7068, allocations: 1.548 MB / 0.5214 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7069, allocations: 10.06 kB / 0.5214 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7069, allocations: 3.953 kB / 0.5214 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.7069, allocations: 3.891 kB / 0.5214 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.7117, allocations: 3.538 MB / 0.5249 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.7117, allocations: 3.062 kB / 0.5249 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.7122, allocations: 127 kB / 0.525 GB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/0.7131, allocations: 460.2 kB / 0.5254 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.7132, allocations: 26.5 kB / 0.5255 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006065/0.7192, allocations: 8.518 MB / 0.5338 GB, free: 70.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7193, allocations: 0 / 0.5338 GB, free: 70.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.722, allocations: 2.367 MB / 0.5361 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.7224, allocations: 283.8 kB / 0.5364 GB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.7226, allocations: 23.11 kB / 0.5364 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.723, allocations: 48.83 kB / 0.5364 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7231, allocations: 92.05 kB / 0.5365 GB, free: 69.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.7232, allocations: 21.53 kB / 0.5365 GB, free: 69.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006072/0.7238, allocations: 0.5985 MB / 0.5371 GB, free: 68.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7238, allocations: 0 / 0.5371 GB, free: 68.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001344/0.7252, allocations: 406.9 kB / 0.5375 GB, free: 68.82 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.002928/0.7281, allocations: 3.092 MB / 0.5405 GB, free: 67.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.7302, allocations: 1.898 MB / 0.5424 GB, free: 65.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7302, allocations: 1.312 kB / 0.5424 GB, free: 65.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.7315, allocations: 1.306 MB / 0.5437 GB, free: 64.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.7324, allocations: 265.7 kB / 0.5439 GB, free: 64.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.7431, allocations: 12.64 MB / 0.5563 GB, free: 52.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.7441, allocations: 1.753 MB / 0.558 GB, free: 51.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004693/0.7446, allocations: 185.2 kB / 0.5582 GB, free: 50.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.7452, allocations: 0.6249 MB / 0.5588 GB, free: 50.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7452, allocations: 3.062 kB / 0.5588 GB, free: 50.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.7867, allocations: 30.71 MB / 0.5888 GB, free: 20.13 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.7869, allocations: 211.5 kB / 0.589 GB, free: 19.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.291, allocations: 4.062 kB / 0.589 GB, free: 19.88 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat