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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 182.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 241.1 MB, free: 5.398 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 5.5 kB / 300.8 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 50.42 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006176/0.128, allocations: 5.076 MB / 356.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004107/0.1322, allocations: 1.605 MB / 357.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.1331, allocations: 39.81 kB / 357.9 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.1336, allocations: 238.5 kB / 358.2 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1348, allocations: 366.9 kB / 358.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.1354, allocations: 219.7 kB / 358.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.137, allocations: 1.354 MB / 360.1 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.139, allocations: 1.633 MB / 361.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.1401, allocations: 0.7006 MB / 362.4 MB, free: 348 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.1418, allocations: 0.8441 MB / 363.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.142, allocations: 120 kB / 363.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.1426, allocations: 227.8 kB / 363.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.1431, allocations: 486.5 kB / 364.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.1437, allocations: 436.6 kB / 364.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.1465, allocations: 2.883 MB / 367.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1465, allocations: 0 / 367.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1466, allocations: 0 / 367.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-05/0.1466, allocations: 0 / 367.4 MB, free: 11.35 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.004091/0.1507, allocations: 2.113 MB / 369.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.1508, allocations: 12.03 kB / 369.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004471/0.1512, allocations: 299.4 kB / 369.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.1518, allocations: 237.2 kB / 370.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.1541, allocations: 1.212 MB / 371.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1542, allocations: 156.1 kB / 371.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.1545, allocations: 204 kB / 371.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.1589, allocations: 2.595 MB / 374.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.159, allocations: 0 / 374.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.1592, allocations: 88 kB / 374.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/0.1592, allocations: 52 kB / 374.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.1628, allocations: 2.077 MB / 376.4 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.1741, allocations: 7.451 MB / 383.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.1763, allocations: 2.352 MB / 386.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.1763, allocations: 9 kB / 386.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1763, allocations: 39.56 kB / 386.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.896e-06/0.1764, allocations: 0 / 386.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007522/0.1839, allocations: 4.352 MB / 390.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.184, allocations: 64.41 kB / 390.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.185, allocations: 0.8524 MB / 391.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.1851, allocations: 45.69 kB / 391.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.1856, allocations: 0.8332 MB / 392.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.1859, allocations: 323.3 kB / 392.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1859, allocations: 16 kB / 392.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1861, allocations: 353.9 kB / 393.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.1868, allocations: 0.4937 MB / 393.6 MB, free: 308 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.1877, allocations: 0.6629 MB / 394.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.1885, allocations: 0.5729 MB / 394.8 MB, free: 15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1885, allocations: 4 kB / 394.8 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002481/0.191, allocations: 1.624 MB / 396.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.191, allocations: 8 kB / 396.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.191, allocations: 4 kB / 396.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/0.192, allocations: 470.9 kB / 396.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.1927, allocations: 175.7 kB / 397.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.2006, allocations: 8.6 MB / 405.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.2012, allocations: 56.02 kB / 405.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.2013, allocations: 36 kB / 405.8 MB, free: 3.465 MB / 334.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.0009889/0.2022, allocations: 0.6302 MB / 406.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2024, allocations: 106.7 kB / 406.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.2027, allocations: 134 kB / 406.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.2027, allocations: 15.95 kB / 406.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.2027, allocations: 4 kB / 406.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2028, allocations: 3.984 kB / 406.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.208, allocations: 3.505 MB / 410.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.208, allocations: 0 / 410.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.2085, allocations: 127.8 kB / 410.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008888/0.2094, allocations: 463.3 kB / 410.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2095, allocations: 16 kB / 410.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/0.2171, allocations: 8.534 MB / 419.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2171, allocations: 0 / 419.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.2204, allocations: 2.342 MB / 421.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.2209, allocations: 279.9 kB / 421.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.221, allocations: 20 kB / 421.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2215, allocations: 51.91 kB / 422 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.2217, allocations: 89.28 kB / 422.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.2217, allocations: 23.98 kB / 422.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007823/0.2225, allocations: 0.6005 MB / 422.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2225, allocations: 0 / 422.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001455/0.224, allocations: 380 kB / 423.1 MB, free: 1.465 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.2418/0.4658, allocations: 3.074 MB / 426.2 MB, free: 60.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.4686, allocations: 1.821 MB / 428 MB, free: 60.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4686, allocations: 0 / 428 MB, free: 60.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.4702, allocations: 1.246 MB / 429.2 MB, free: 60.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.4716, allocations: 269.4 kB / 429.5 MB, free: 60.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.4881, allocations: 12.63 MB / 442.1 MB, free: 53.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.4895, allocations: 1.752 MB / 443.9 MB, free: 53.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006328/0.4901, allocations: 196.7 kB / 444.1 MB, free: 53.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/0.4909, allocations: 0.6149 MB / 444.7 MB, free: 53.14 MB / 350.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4909, allocations: 0 / 444.7 MB, free: 53.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.5351, allocations: 30.49 MB / 475.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.5353, allocations: 213.6 kB / 475.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.955, allocations: 0 / 475.4 MB, free: 27.34 MB / 350.1 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