Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.277/1.277, allocations: 230.4 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 67.89 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2066, allocations: 53.32 MB / 429.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007191/0.2138, allocations: 6.301 MB / 435.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.2166, allocations: 1.71 MB / 437.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.217, allocations: 43.81 kB / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.2175, allocations: 305.5 kB / 437.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009518/0.2185, allocations: 445.2 kB / 438.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.219, allocations: 343.5 kB / 438.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.221, allocations: 2.145 MB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.2226, allocations: 1.4 MB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.2237, allocations: 1.04 MB / 443.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.2251, allocations: 1.237 MB / 444.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.2255, allocations: 288 kB / 444.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.2261, allocations: 423.7 kB / 445 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.2267, allocations: 0.709 MB / 445.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.2278, allocations: 1.233 MB / 447 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.2309, allocations: 3.643 MB / 450.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.231, allocations: 0 / 450.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.231, allocations: 0 / 450.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.231, allocations: 0 / 450.6 MB, free: 2.211 MB / 350.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.003955/0.235, allocations: 2.536 MB / 453.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.235, allocations: 8.031 kB / 453.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003454/0.2353, allocations: 303.6 kB / 453.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.2359, allocations: 263.5 kB / 453.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.2378, allocations: 1.315 MB / 455 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.2379, allocations: 156.5 kB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.2381, allocations: 207.9 kB / 455.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.2419, allocations: 2.618 MB / 458 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.242, allocations: 0 / 458 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.2421, allocations: 80 kB / 458.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.2422, allocations: 52 kB / 458.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.2454, allocations: 2.101 MB / 460.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.2555, allocations: 7.309 MB / 467.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.2577, allocations: 2.278 MB / 469.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2591, allocations: 0.9004 MB / 470.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.2591, allocations: 12.94 kB / 470.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.2591, allocations: 43.56 kB / 470.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.614e-06/0.2591, allocations: 4 kB / 470.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007227/0.2664, allocations: 4.188 MB / 475 MB, free: 9.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2664, allocations: 64.34 kB / 475 MB, free: 9.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2675, allocations: 0.872 MB / 475.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.2675, allocations: 45.69 kB / 475.9 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.268, allocations: 0.8436 MB / 476.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.2683, allocations: 345.1 kB / 477.1 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.2685, allocations: 178.6 kB / 477.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2687, allocations: 341.9 kB / 477.6 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.2694, allocations: 0.4899 MB / 478.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.2703, allocations: 0.6733 MB / 478.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.2719, allocations: 1.201 MB / 480 MB, free: 3.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2719, allocations: 7.938 kB / 480 MB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002406/0.2743, allocations: 1.617 MB / 481.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2743, allocations: 8 kB / 481.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2743, allocations: 11.94 kB / 481.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/0.2753, allocations: 466.9 kB / 482.1 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.2759, allocations: 171.8 kB / 482.3 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008586/0.2845, allocations: 9.294 MB / 491.6 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.285, allocations: 51.89 kB / 491.6 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.2851, allocations: 32 kB / 491.6 MB, free: 7.629 MB / 398.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 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009/0.286, allocations: 0.6536 MB / 492.3 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.2861, allocations: 103.3 kB / 492.4 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2864, allocations: 138.1 kB / 492.5 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.2864, allocations: 12 kB / 492.5 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.2864, allocations: 3.938 kB / 492.5 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2864, allocations: 7.922 kB / 492.6 MB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.2915, allocations: 3.458 MB / 496 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2915, allocations: 4 kB / 496 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.292, allocations: 123.8 kB / 496.1 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009105/0.2929, allocations: 447.1 kB / 496.6 MB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.293, allocations: 24.23 kB / 496.6 MB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.3015, allocations: 9.223 MB / 0.494 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3015, allocations: 0 / 0.494 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.3049, allocations: 2.297 MB / 0.4962 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.3053, allocations: 288.3 kB / 0.4965 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3054, allocations: 16 kB / 0.4965 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.3058, allocations: 47.89 kB / 0.4965 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.306, allocations: 88.8 kB / 0.4966 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.306, allocations: 20 kB / 0.4966 GB, free: 5.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007747/0.3068, allocations: 0.6161 MB / 0.4973 GB, free: 5.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 4 kB / 0.4973 GB, free: 5.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001395/0.3082, allocations: 383.9 kB / 0.4976 GB, free: 4.988 MB / 414.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003699/0.3119, allocations: 2.892 MB / 0.5004 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.3145, allocations: 1.776 MB / 0.5022 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3145, allocations: 0 / 0.5022 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.3161, allocations: 1.204 MB / 0.5034 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.3174, allocations: 312.6 kB / 0.5037 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.3341, allocations: 12.2 MB / 0.5156 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.3355, allocations: 1.718 MB / 0.5172 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.3359, allocations: 196.8 kB / 0.5174 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/0.3367, allocations: 0.6204 MB / 0.518 GB, free: 15.61 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3367, allocations: 0 / 0.518 GB, free: 15.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/0.566, allocations: 34 MB / 0.5512 GB, free: 94.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.7, allocations: 0 / 0.5512 GB, free: 94.33 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.84774384299817]