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.0009801/0.0009801, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.404/1.404, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 89.94 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.211e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09987, allocations: 50.42 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4129, allocations: 86.64 MB / 481 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4132, allocations: 71.97 kB / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07859/0.4918, allocations: 32.91 MB / 0.5019 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4918, allocations: 0 / 0.5019 GB, free: 15.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.492, allocations: 51.94 kB / 0.502 GB, free: 15.59 MB / 394.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.003285/0.4953, allocations: 1.966 MB / 0.5039 GB, free: 13.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4953, allocations: 8.031 kB / 0.5039 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003458/0.4957, allocations: 307.5 kB / 0.5042 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/0.4961, allocations: 237.2 kB / 0.5044 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.4979, allocations: 1.216 MB / 0.5056 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.4981, allocations: 156.2 kB / 0.5057 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.4983, allocations: 204 kB / 0.5059 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.5022, allocations: 2.528 MB / 0.5084 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.5023, allocations: 3.938 kB / 0.5084 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.5025, allocations: 92 kB / 0.5085 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.5025, allocations: 48 kB / 0.5086 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.5055, allocations: 1.871 MB / 0.5104 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.5161, allocations: 7.509 MB / 0.5177 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.5182, allocations: 2.322 MB / 0.52 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.5194, allocations: 0.9032 MB / 0.5209 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5195, allocations: 8.781 kB / 0.5209 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5196, allocations: 39.34 kB / 0.5209 GB, free: 11.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.99e-06/0.5196, allocations: 0 / 0.5209 GB, free: 11.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.004543/0.5241, allocations: 2.954 MB / 0.5238 GB, free: 8.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5242, allocations: 60.19 kB / 0.5238 GB, free: 8.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.5252, allocations: 0.7502 MB / 0.5246 GB, free: 7.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.5252, allocations: 41.7 kB / 0.5246 GB, free: 7.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.5257, allocations: 0.8333 MB / 0.5254 GB, free: 6.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.526, allocations: 331.2 kB / 0.5258 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.526, allocations: 20 kB / 0.5258 GB, free: 6.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5262, allocations: 341.9 kB / 0.5261 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.5268, allocations: 481.8 kB / 0.5266 GB, free: 5.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007494/0.5276, allocations: 0.6505 MB / 0.5272 GB, free: 4.848 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.5283, allocations: 0.5591 MB / 0.5277 GB, free: 4.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.5283, allocations: 3.953 kB / 0.5277 GB, free: 4.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002368/0.5307, allocations: 1.589 MB / 0.5293 GB, free: 2.676 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5308, allocations: 7.953 kB / 0.5293 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/0.5308, allocations: 8 kB / 0.5293 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.5318, allocations: 459 kB / 0.5297 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.5326, allocations: 175.7 kB / 0.5299 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008418/0.541, allocations: 8.447 MB / 0.5382 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.5419, allocations: 47.95 kB / 0.5382 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/0.542, allocations: 36 kB / 0.5382 GB, free: 8.961 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.0002469/0.5423, allocations: 165.6 kB / 0.5384 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.5425, allocations: 110.8 kB / 0.5385 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.5448, allocations: 1.486 MB / 0.54 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5448, allocations: 12 kB / 0.54 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5449, allocations: 0 / 0.54 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5449, allocations: 7.938 kB / 0.54 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.5511, allocations: 3.458 MB / 0.5434 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.5512, allocations: 8.062 kB / 0.5434 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.5518, allocations: 123.9 kB / 0.5435 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.5528, allocations: 455 kB / 0.5439 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.5529, allocations: 23.94 kB / 0.5439 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2337/0.7866, allocations: 8.343 MB / 0.5521 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7866, allocations: 0.5156 kB / 0.5521 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.7898, allocations: 2.276 MB / 0.5543 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/0.7904, allocations: 281.9 kB / 0.5546 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7906, allocations: 17.27 kB / 0.5546 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.791, allocations: 48.39 kB / 0.5546 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.7913, allocations: 94 kB / 0.5547 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.7914, allocations: 28.3 kB / 0.5548 GB, free: 109.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008034/0.7922, allocations: 0.5895 MB / 0.5553 GB, free: 109.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7922, allocations: 3.562 kB / 0.5553 GB, free: 109.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001942/0.7941, allocations: 397.7 kB / 0.5557 GB, free: 109.3 MB / 426.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.00359/0.7977, allocations: 3.024 MB / 0.5587 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.8003, allocations: 1.829 MB / 0.5605 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8003, allocations: 0 / 0.5605 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.8019, allocations: 1.259 MB / 0.5617 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.8032, allocations: 270.8 kB / 0.5619 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007783/0.811, allocations: 3.434 MB / 0.5653 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.8132, allocations: 1.75 MB / 0.567 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009072/0.8142, allocations: 182 kB / 0.5672 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.8149, allocations: 0.6282 MB / 0.5678 GB, free: 105.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.794e-06/0.8149, allocations: 0 / 0.5678 GB, free: 105.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.8667, allocations: 30.97 MB / 0.598 GB, free: 101.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.867, allocations: 184.9 kB / 0.5982 GB, free: 101 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.547, allocations: 0 / 0.5982 GB, free: 101 MB / 426.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