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.0009795/0.0009795, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.000892/0.0008921, allocations: 94.48 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.746e-05, allocations: 0 / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 50.42 MB / 387.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4734, allocations: 85.96 MB / 473.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4737, allocations: 77.73 kB / 473.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08163/0.5553, allocations: 32.6 MB / 0.4943 GB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5553, allocations: 0 / 0.4943 GB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.5555, allocations: 51.94 kB / 0.4944 GB, free: 7.82 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.003797/0.5593, allocations: 1.958 MB / 0.4963 GB, free: 5.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5593, allocations: 8.031 kB / 0.4963 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.5598, allocations: 241.2 kB / 0.4965 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.5619, allocations: 1.22 MB / 0.4977 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.5619, allocations: 71.98 kB / 0.4978 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.5622, allocations: 116 kB / 0.4979 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003044/0.5652, allocations: 1.754 MB / 0.4996 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.5689, allocations: 2.231 MB / 0.5018 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.569, allocations: 0 / 0.5018 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.5691, allocations: 7.984 kB / 0.5018 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.5692, allocations: 51.95 kB / 0.5018 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.5804, allocations: 7.14 MB / 0.5088 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.5825, allocations: 2.276 MB / 0.511 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.5839, allocations: 0.8916 MB / 0.5119 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.584, allocations: 12.73 kB / 0.5119 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.584, allocations: 43.34 kB / 0.512 GB, free: 5.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.584, allocations: 4 kB / 0.512 GB, free: 5.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.004717/0.5887, allocations: 2.79 MB / 0.5147 GB, free: 2.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5888, allocations: 60.19 kB / 0.5148 GB, free: 2.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.5898, allocations: 0.6914 MB / 0.5154 GB, free: 1.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.5899, allocations: 25.7 kB / 0.5154 GB, free: 1.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.5905, allocations: 0.8294 MB / 0.5163 GB, free: 0.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.5907, allocations: 315.2 kB / 0.5166 GB, free: 320 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5908, allocations: 0 / 0.5166 GB, free: 320 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.591, allocations: 345.9 kB / 0.5169 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.5916, allocations: 462.4 kB / 0.5173 GB, free: 15.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.5924, allocations: 0.624 MB / 0.5179 GB, free: 14.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.5931, allocations: 0.541 MB / 0.5185 GB, free: 14.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5932, allocations: 4 kB / 0.5185 GB, free: 14.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002225/0.5954, allocations: 1.499 MB / 0.5199 GB, free: 12.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5954, allocations: 4 kB / 0.5199 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.5955, allocations: 8 kB / 0.5199 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.5965, allocations: 451 kB / 0.5204 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.5972, allocations: 187.6 kB / 0.5206 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00797/0.6052, allocations: 8.158 MB / 0.5285 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.606, allocations: 31.95 kB / 0.5286 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.6061, allocations: 36 kB / 0.5286 GB, free: 3.43 MB / 410.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.0002164/0.6063, allocations: 136.7 kB / 0.5287 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001954/0.6082, allocations: 1.314 MB / 0.53 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6084, allocations: 98.78 kB / 0.5301 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.6106, allocations: 1.396 MB / 0.5315 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6106, allocations: 12 kB / 0.5315 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6106, allocations: 0 / 0.5315 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.6106, allocations: 3.984 kB / 0.5315 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.6156, allocations: 3.129 MB / 0.5345 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.6156, allocations: 3.984 kB / 0.5345 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.6162, allocations: 127.9 kB / 0.5347 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009497/0.6171, allocations: 451.1 kB / 0.5351 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.6172, allocations: 11.98 kB / 0.5351 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/0.6245, allocations: 8.08 MB / 0.543 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6246, allocations: 0 / 0.543 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.6274, allocations: 2.188 MB / 0.5451 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.6279, allocations: 279.9 kB / 0.5454 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.628, allocations: 11.95 kB / 0.5454 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.6285, allocations: 31.95 kB / 0.5454 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.6287, allocations: 84.59 kB / 0.5455 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.6288, allocations: 23.98 kB / 0.5455 GB, free: 1.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007408/0.6295, allocations: 0.5303 MB / 0.5461 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6295, allocations: 4 kB / 0.5461 GB, free: 0.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001799/0.6313, allocations: 364 kB / 0.5464 GB, free: 0.5195 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.2312/0.8625, allocations: 2.914 MB / 0.5493 GB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002856/0.8654, allocations: 1.745 MB / 0.551 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8655, allocations: 0 / 0.551 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.8672, allocations: 1.213 MB / 0.5521 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.8688, allocations: 238.1 kB / 0.5524 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.8753, allocations: 3.342 MB / 0.5556 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.8769, allocations: 1.751 MB / 0.5573 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007025/0.8776, allocations: 179.3 kB / 0.5575 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/0.8783, allocations: 0.6232 MB / 0.5581 GB, free: 114.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8783, allocations: 0 / 0.5581 GB, free: 114.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05998/0.9383, allocations: 28.62 MB / 0.5861 GB, free: 111.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.9386, allocations: 139.9 kB / 0.5862 GB, free: 111.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.552, allocations: 3.281 kB / 0.5862 GB, free: 111.6 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