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.001588/0.001588, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.47 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09887, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007263/0.1062, allocations: 6.238 MB / 363.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.1096, allocations: 1.698 MB / 365.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.1111, allocations: 47.81 kB / 365.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1122, allocations: 289.6 kB / 365.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.114, allocations: 425.2 kB / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1151, allocations: 355.5 kB / 366.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.1175, allocations: 2.129 MB / 368.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.1205, allocations: 2.438 MB / 371.2 MB, free: 308 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1669/0.2874, allocations: 1.033 MB / 372.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.2893, allocations: 1.215 MB / 373.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.2898, allocations: 291.5 kB / 373.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.2907, allocations: 404.4 kB / 374.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.2913, allocations: 0.7059 MB / 374.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.2924, allocations: 1.235 MB / 376 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.2975, allocations: 3.579 MB / 379.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2975, allocations: 5.781 kB / 379.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2975, allocations: 0 / 379.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2976, allocations: 2.375 kB / 379.6 MB, free: 10.11 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.004943/0.3026, allocations: 2.488 MB / 382.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3026, allocations: 9.188 kB / 382.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003449/0.303, allocations: 303 kB / 382.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007409/0.3037, allocations: 255.1 kB / 382.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3056, allocations: 1.267 MB / 383.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.3057, allocations: 152.7 kB / 384.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.306, allocations: 203.5 kB / 384.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.31, allocations: 2.619 MB / 386.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.31, allocations: 2.625 kB / 386.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.3102, allocations: 88.7 kB / 387 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.3103, allocations: 52.81 kB / 387 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/0.3135, allocations: 2.09 MB / 389.1 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009592/0.3231, allocations: 7.39 MB / 396.5 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.3253, allocations: 2.356 MB / 398.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3268, allocations: 0.9208 MB / 399.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.3268, allocations: 7.5 kB / 399.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.3269, allocations: 54.34 kB / 399.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.424e-06/0.3269, allocations: 0 / 399.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007784/0.3347, allocations: 4.171 MB / 404 MB, free: 10.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3348, allocations: 66.38 kB / 404.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.336, allocations: 0.8719 MB / 405 MB, free: 9.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.336, allocations: 45.69 kB / 405 MB, free: 9.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.3366, allocations: 0.8359 MB / 405.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3368, allocations: 325.2 kB / 406.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.337, allocations: 170.6 kB / 406.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3372, allocations: 345.9 kB / 406.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.3379, allocations: 0.4899 MB / 407.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.3387, allocations: 0.6729 MB / 407.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3403, allocations: 1.208 MB / 409 MB, free: 5.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3403, allocations: 0 / 409 MB, free: 5.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002476/0.3428, allocations: 1.627 MB / 410.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3429, allocations: 8 kB / 410.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3429, allocations: 7.375 kB / 410.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3439, allocations: 470.5 kB / 411.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.3446, allocations: 166.4 kB / 411.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/0.3541, allocations: 9.299 MB / 420.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.3549, allocations: 44.05 kB / 420.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.355, allocations: 44 kB / 420.7 MB, free: 9.621 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 (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.00102/0.356, allocations: 0.6521 MB / 421.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.3562, allocations: 110.8 kB / 421.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3564, allocations: 130.1 kB / 421.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.3565, allocations: 15.98 kB / 421.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3565, allocations: 4 kB / 421.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3565, allocations: 3.984 kB / 421.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.3618, allocations: 3.492 MB / 425.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3618, allocations: 0 / 425.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.3623, allocations: 129.2 kB / 425.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000921/0.3633, allocations: 448.3 kB / 425.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.3633, allocations: 20 kB / 425.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007941/0.3713, allocations: 9.215 MB / 434.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3713, allocations: 128 / 434.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.3747, allocations: 2.305 MB / 437.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.3752, allocations: 283.8 kB / 437.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.3754, allocations: 23.83 kB / 437.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.3759, allocations: 39.95 kB / 437.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.3761, allocations: 99.53 kB / 437.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.3762, allocations: 31.91 kB / 437.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008751/0.377, allocations: 0.6122 MB / 438.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3771, allocations: 4 kB / 438.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001535/0.3786, allocations: 376 kB / 438.7 MB, free: 7.086 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 (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.003572/0.3822, allocations: 2.888 MB / 441.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.3854, allocations: 2.107 MB / 443.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3855, allocations: 0 / 443.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.387, allocations: 1.237 MB / 444.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.3883, allocations: 303.3 kB / 445.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.4061, allocations: 12.74 MB / 457.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.4076, allocations: 1.726 MB / 459.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005648/0.4082, allocations: 192.9 kB / 459.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/0.409, allocations: 0.6165 MB / 460.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of SimCode: time 2.575e-06/0.409, allocations: 4 kB / 460.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08694/0.496, allocations: 32.92 MB / 493.4 MB, free: 264 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.33, allocations: 15.92 kB / 493.4 MB, free: 248 kB / 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)