Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 97.11 kB / 17 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.001181, allocations: 198.3 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.3 MB / 246 MB, free: 11.91 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003507, allocations: 8 kB / 306.8 MB, free: 1.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 51.5 MB / 358.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008307/0.1668, allocations: 5.406 MB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.1716, allocations: 1.585 MB / 365.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.1729, allocations: 43.81 kB / 365.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.174, allocations: 218.4 kB / 365.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.176, allocations: 365.9 kB / 365.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1771, allocations: 223.7 kB / 366.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.181, allocations: 2.11 MB / 368.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.1848, allocations: 1.633 MB / 369.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1869, allocations: 0.7238 MB / 370.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.1894, allocations: 0.9219 MB / 371.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00067/0.1901, allocations: 120 kB / 371.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1915, allocations: 235.8 kB / 371.9 MB, free: 372 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2266/0.4182, allocations: 496.2 kB / 372.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.4195, allocations: 433.6 kB / 372.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00521/0.4247, allocations: 2.89 MB / 375.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4248, allocations: 0.6562 kB / 375.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4248, allocations: 0 / 375.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001831/0.425, allocations: 0 / 375.7 MB, free: 11.46 MB / 302.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.007289/0.4322, allocations: 2.124 MB / 377.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.4323, allocations: 9.625 kB / 377.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00168/0.434, allocations: 301.8 kB / 378.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.4355, allocations: 264.9 kB / 378.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.439, allocations: 1.206 MB / 379.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.4392, allocations: 153.7 kB / 379.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.4396, allocations: 218 kB / 379.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006833/0.4464, allocations: 2.602 MB / 382.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.4465, allocations: 4 kB / 382.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.4467, allocations: 83.66 kB / 382.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.4468, allocations: 52.28 kB / 382.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.4516, allocations: 2.079 MB / 384.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.4647, allocations: 7.448 MB / 392.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4667, allocations: 2.349 MB / 394.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4682, allocations: 0.9469 MB / 395.5 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.4682, allocations: 10.5 kB / 395.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4683, allocations: 42.38 kB / 395.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.4683, allocations: 0 / 395.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007927/0.4762, allocations: 4.201 MB / 399.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.4763, allocations: 67.53 kB / 399.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4779, allocations: 0.8528 MB / 400.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.478, allocations: 43.98 kB / 400.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000727/0.4788, allocations: 0.8328 MB / 401.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.4791, allocations: 327.6 kB / 401.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.4791, allocations: 18.03 kB / 401.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4793, allocations: 345.7 kB / 402.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007816/0.4801, allocations: 0.4891 MB / 402.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/0.481, allocations: 0.6711 MB / 403.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.4819, allocations: 0.5706 MB / 403.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4819, allocations: 4 kB / 403.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002825/0.4848, allocations: 1.622 MB / 405.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4848, allocations: 8 kB / 405.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.4848, allocations: 4 kB / 405.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.486, allocations: 473.7 kB / 406 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.4867, allocations: 173.4 kB / 406.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/0.4962, allocations: 8.451 MB / 414.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.4974, allocations: 52.02 kB / 414.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4975, allocations: 36 kB / 414.7 MB, free: 1.605 MB / 318.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001615/0.4991, allocations: 0.6409 MB / 415.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.4994, allocations: 102.8 kB / 415.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.4997, allocations: 130 kB / 415.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/0.4998, allocations: 12 kB / 415.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.4998, allocations: 9.688 kB / 415.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4998, allocations: 7.922 kB / 415.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.5066, allocations: 3.52 MB / 419.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5066, allocations: 0 / 419.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.5072, allocations: 125.3 kB / 419.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009751/0.5082, allocations: 453.2 kB / 419.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.5083, allocations: 25.28 kB / 419.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00927/0.5175, allocations: 8.371 MB / 428.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5176, allocations: 0 / 428.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.5214, allocations: 2.315 MB / 430.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.5221, allocations: 282.7 kB / 430.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5223, allocations: 28.72 kB / 430.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.5227, allocations: 47.95 kB / 430.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/0.523, allocations: 80.88 kB / 430.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/0.5231, allocations: 31.98 kB / 430.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.5242, allocations: 0.5966 MB / 431.5 MB, free: 296 kB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5242, allocations: 0 / 431.5 MB, free: 296 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002145/0.5263, allocations: 381.4 kB / 431.9 MB, free: 15.91 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.004369/0.5307, allocations: 2.901 MB / 434.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003209/0.534, allocations: 1.816 MB / 436.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.534, allocations: 0 / 436.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.536, allocations: 1.242 MB / 437.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.5376, allocations: 283.1 kB / 438.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.5564, allocations: 9.548 MB / 447.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.5582, allocations: 1.717 MB / 449.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000771/0.559, allocations: 191.7 kB / 449.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/0.5598, allocations: 0.6125 MB / 450.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5599, allocations: 0 / 450.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.6212, allocations: 30.6 MB / 480.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6215, allocations: 227.7 kB / 481 MB, free: 14.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.156, allocations: 0 / 481 MB, free: 14.82 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat