Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_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.00145/0.00145, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 90.61 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.322e-05, allocations: 7.938 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3806, allocations: 47.57 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5233, allocations: 84.57 MB / 447 MB, free: 1.711 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5236, allocations: 79.95 kB / 447.1 MB, free: 1.633 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1737/0.6974, allocations: 31.81 MB / 478.9 MB, free: 1.727 MB / 363.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6975, allocations: 0 / 478.9 MB, free: 1.727 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0002838/0.6978, allocations: 51.94 kB / 478.9 MB, free: 1.676 MB / 363.1 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.0117/0.7095, allocations: 1.953 MB / 480.9 MB, free: 15.66 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.608e-05/0.7096, allocations: 8.031 kB / 480.9 MB, free: 15.66 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.7112, allocations: 233.3 kB / 481.1 MB, free: 15.43 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004591/0.7159, allocations: 1.224 MB / 482.4 MB, free: 14.16 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.7161, allocations: 68 kB / 482.4 MB, free: 14.09 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008945/0.717, allocations: 116 kB / 482.5 MB, free: 13.98 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006799/0.7238, allocations: 1.765 MB / 484.3 MB, free: 12.21 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008079/0.732, allocations: 2.235 MB / 486.5 MB, free: 9.828 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.7321, allocations: 0 / 486.5 MB, free: 9.828 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.7323, allocations: 4 kB / 486.5 MB, free: 9.824 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.7324, allocations: 48 kB / 486.6 MB, free: 9.777 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.7529, allocations: 7.148 MB / 493.7 MB, free: 2.469 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.7565, allocations: 2.284 MB / 496 MB, free: 15.95 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.7589, allocations: 0.8992 MB / 496.9 MB, free: 15.05 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.7591, allocations: 8.781 kB / 496.9 MB, free: 15.04 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.7592, allocations: 43.34 kB / 497 MB, free: 14.99 MB / 395.1 MB Notification: Performance of pre-optimization done (n=96): time 5.23e-06/0.7592, allocations: 0 / 497 MB, free: 14.99 MB / 395.1 MB Notification: Performance of matching and sorting (n=97): time 0.007636/0.7668, allocations: 2.798 MB / 499.8 MB, free: 12.12 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.7669, allocations: 64.19 kB / 499.8 MB, free: 12.04 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.7685, allocations: 0.6836 MB / 0.4888 GB, free: 11.35 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.7687, allocations: 29.7 kB / 0.4888 GB, free: 11.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008255/0.7696, allocations: 0.8357 MB / 0.4896 GB, free: 10.47 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004802/0.7701, allocations: 311.3 kB / 0.4899 GB, free: 10.16 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.7702, allocations: 0 / 0.4899 GB, free: 10.16 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7704, allocations: 354.8 kB / 0.4903 GB, free: 9.805 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.7715, allocations: 462.4 kB / 0.4907 GB, free: 9.352 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.7728, allocations: 0.6321 MB / 0.4913 GB, free: 8.656 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7742, allocations: 0.541 MB / 0.4918 GB, free: 8.113 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.7742, allocations: 4 kB / 0.4918 GB, free: 8.109 MB / 395.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003774/0.778, allocations: 1.445 MB / 0.4933 GB, free: 6.645 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.7781, allocations: 11.95 kB / 0.4933 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.7781, allocations: 4 kB / 0.4933 GB, free: 6.629 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.7799, allocations: 455 kB / 0.4937 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.7814, allocations: 171.8 kB / 0.4939 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2786/1.06, allocations: 8.156 MB / 0.5018 GB, free: 103.1 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.061, allocations: 33.05 kB / 0.5019 GB, free: 103.1 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.061, allocations: 34.8 kB / 0.5019 GB, free: 103.1 MB / 395.1 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.0002753/1.062, allocations: 124.4 kB / 0.502 GB, free: 103 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003345/1.065, allocations: 1.316 MB / 0.5033 GB, free: 102.9 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.065, allocations: 98.02 kB / 0.5034 GB, free: 102.9 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.069, allocations: 1.407 MB / 0.5048 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.069, allocations: 10.66 kB / 0.5048 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.069, allocations: 5 kB / 0.5048 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.069, allocations: 4.453 kB / 0.5048 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.08, allocations: 3.135 MB / 0.5079 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.08, allocations: 2.438 kB / 0.5079 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.081, allocations: 134.6 kB / 0.508 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/1.082, allocations: 436.2 kB / 0.5084 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.083, allocations: 13.28 kB / 0.5084 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.093, allocations: 8.068 MB / 0.5163 GB, free: 97.36 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.093, allocations: 2.031 kB / 0.5163 GB, free: 97.36 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/1.098, allocations: 2.202 MB / 0.5184 GB, free: 97.11 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/1.099, allocations: 272.1 kB / 0.5187 GB, free: 96.97 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.099, allocations: 7.625 kB / 0.5187 GB, free: 96.97 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/1.1, allocations: 30.62 kB / 0.5187 GB, free: 96.97 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/1.101, allocations: 89.59 kB / 0.5188 GB, free: 96.97 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.343e-05/1.101, allocations: 24.41 kB / 0.5188 GB, free: 96.97 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001138/1.102, allocations: 0.5278 MB / 0.5194 GB, free: 96.88 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.102, allocations: 1.781 kB / 0.5194 GB, free: 96.88 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0026/1.104, allocations: 363.4 kB / 0.5197 GB, free: 96.87 MB / 395.1 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.005427/1.11, allocations: 2.928 MB / 0.5226 GB, free: 95.43 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00345/1.113, allocations: 1.756 MB / 0.5243 GB, free: 94.5 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.113, allocations: 0 / 0.5243 GB, free: 94.5 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.116, allocations: 1.199 MB / 0.5255 GB, free: 93.75 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.118, allocations: 242.5 kB / 0.5257 GB, free: 93.7 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/1.127, allocations: 3.293 MB / 0.5289 GB, free: 92.5 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.129, allocations: 1.72 MB / 0.5306 GB, free: 91.59 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.13, allocations: 0.6311 MB / 0.5312 GB, free: 91.07 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/1.13, allocations: 0.9375 kB / 0.5312 GB, free: 91.07 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.046/5.176, allocations: 65.33 MB / 0.595 GB, free: 40.96 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat