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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB 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.002114/0.002114, allocations: 59.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2843, allocations: 50.55 MB / 409.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008387/0.2928, allocations: 6.241 MB / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.2965, allocations: 1.694 MB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009106/0.2975, allocations: 51.81 kB / 417.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008413/0.2984, allocations: 289.6 kB / 417.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.3, allocations: 433.1 kB / 417.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.301, allocations: 355.5 kB / 418.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.3036, allocations: 2.137 MB / 420.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.3065, allocations: 2.441 MB / 422.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.308, allocations: 1.032 MB / 423.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.3098, allocations: 1.218 MB / 424.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.3102, allocations: 288 kB / 425.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.311, allocations: 407.8 kB / 425.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006968/0.3117, allocations: 0.7129 MB / 426.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.3131, allocations: 1.229 MB / 427.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.3173, allocations: 3.639 MB / 431.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3173, allocations: 0 / 431.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3173, allocations: 0 / 431.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.732e-05/0.3174, allocations: 0 / 431.2 MB, free: 11.11 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.00527/0.3227, allocations: 2.536 MB / 433.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.3228, allocations: 8.031 kB / 433.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004506/0.3232, allocations: 299.7 kB / 434 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000814/0.3241, allocations: 271.4 kB / 434.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.3263, allocations: 1.315 MB / 435.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.3265, allocations: 152.5 kB / 435.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.3268, allocations: 211.9 kB / 436 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.3314, allocations: 2.622 MB / 438.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3314, allocations: 0 / 438.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3316, allocations: 80 kB / 438.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.3317, allocations: 52 kB / 438.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.3354, allocations: 2.093 MB / 440.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.347, allocations: 7.301 MB / 448.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.3496, allocations: 2.359 MB / 450.5 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3511, allocations: 0.9474 MB / 451.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.3512, allocations: 9 kB / 451.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.3512, allocations: 47.5 kB / 451.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.3513, allocations: 0 / 451.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008321/0.3596, allocations: 4.215 MB / 455.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3597, allocations: 64.34 kB / 455.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.361, allocations: 0.872 MB / 456.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.3611, allocations: 37.7 kB / 456.7 MB, free: 0.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/0.3617, allocations: 0.8555 MB / 457.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.362, allocations: 341.1 kB / 457.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3623, allocations: 182.6 kB / 458 MB, free: 15.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3625, allocations: 349.9 kB / 458.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.3633, allocations: 497.7 kB / 458.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/0.3642, allocations: 0.6694 MB / 459.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.366, allocations: 1.201 MB / 460.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.366, allocations: 4 kB / 460.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002734/0.3687, allocations: 1.628 MB / 462.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3688, allocations: 11.94 kB / 462.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3688, allocations: 4 kB / 462.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3699, allocations: 470.9 kB / 462.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.3706, allocations: 163.8 kB / 463 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009683/0.3803, allocations: 9.306 MB / 472.3 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/0.381, allocations: 48.05 kB / 472.3 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.3811, allocations: 35.94 kB / 472.4 MB, free: 372 kB / 382.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.00109/0.3822, allocations: 0.6419 MB / 473 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.3824, allocations: 111.3 kB / 473.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.3827, allocations: 130.1 kB / 473.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.3827, allocations: 19.97 kB / 473.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.3828, allocations: 12.06 kB / 473.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.3828, allocations: 3.984 kB / 473.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.3885, allocations: 3.474 MB / 476.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3885, allocations: 3.984 kB / 476.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.389, allocations: 123.9 kB / 476.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.39, allocations: 454.9 kB / 477.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.3901, allocations: 19.98 kB / 477.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/0.3994, allocations: 9.211 MB / 486.6 MB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.3994, allocations: 4.078 kB / 486.6 MB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.4031, allocations: 2.316 MB / 488.9 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.4038, allocations: 284.4 kB / 489.2 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.4039, allocations: 16 kB / 489.2 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.4044, allocations: 47.89 kB / 489.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.4047, allocations: 84.81 kB / 489.3 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.4047, allocations: 32.11 kB / 489.3 MB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009314/0.4057, allocations: 0.6122 MB / 490 MB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.993e-06/0.4057, allocations: 0 / 490 MB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4074, allocations: 387.9 kB / 490.3 MB, free: 13.69 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.004316/0.4117, allocations: 2.904 MB / 493.2 MB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003152/0.4149, allocations: 1.822 MB / 495.1 MB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4149, allocations: 1.312 kB / 495.1 MB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.4167, allocations: 1.242 MB / 496.3 MB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4182, allocations: 295.1 kB / 496.6 MB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.4368, allocations: 12.21 MB / 0.4969 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.4384, allocations: 1.718 MB / 0.4986 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.439, allocations: 192.9 kB / 0.4987 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/0.4398, allocations: 0.6165 MB / 0.4993 GB, free: 8.223 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4398, allocations: 0 / 0.4993 GB, free: 8.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08098/0.5208, allocations: 33.66 MB / 0.5322 GB, free: 6.938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.23, allocations: 6.75 kB / 0.5322 GB, free: 6.934 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 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)