Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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.001499/0.001499, allocations: 109.4 kB / 17.73 MB, free: 5.34 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.0014/0.0014, allocations: 180.1 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.07967, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1771/0.2569, allocations: 6.169 MB / 380.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.2601, allocations: 1.695 MB / 382.5 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.2608, allocations: 39.59 kB / 382.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.2613, allocations: 293 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.2625, allocations: 420.6 kB / 383.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.2632, allocations: 353.3 kB / 383.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.2655, allocations: 2.156 MB / 385.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.2679, allocations: 2.388 MB / 388.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.2693, allocations: 1.025 MB / 389.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.271, allocations: 1.211 MB / 390.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.2714, allocations: 289.7 kB / 390.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.2721, allocations: 432.9 kB / 391.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.2727, allocations: 0.7017 MB / 391.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.274, allocations: 1.232 MB / 393 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.2778, allocations: 3.619 MB / 396.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2778, allocations: 1.219 kB / 396.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2778, allocations: 0 / 396.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.2779, allocations: 7.938 kB / 396.6 MB, free: 3.152 MB / 318.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.004652/0.2826, allocations: 2.457 MB / 399.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2826, allocations: 9.906 kB / 399.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000329/0.283, allocations: 302.8 kB / 399.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.2834, allocations: 232.3 kB / 399.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.2852, allocations: 1.179 MB / 400.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2853, allocations: 159.7 kB / 401 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.2856, allocations: 210.6 kB / 401.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.2898, allocations: 2.608 MB / 403.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.2899, allocations: 3.938 kB / 403.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.2901, allocations: 82.81 kB / 403.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.312e-05/0.2902, allocations: 52.78 kB / 403.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.2936, allocations: 2.078 MB / 406 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3047, allocations: 7.308 MB / 413.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.3069, allocations: 2.353 MB / 415.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3084, allocations: 0.9472 MB / 416.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.3084, allocations: 24.88 kB / 416.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3085, allocations: 39.56 kB / 416.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.987e-06/0.3085, allocations: 0 / 416.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.008179/0.3167, allocations: 4.188 MB / 420.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3167, allocations: 68.28 kB / 420.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.318, allocations: 0.8641 MB / 421.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.318, allocations: 41.7 kB / 421.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.3186, allocations: 0.824 MB / 422.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.3188, allocations: 326.1 kB / 423 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.3191, allocations: 182.5 kB / 423.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3192, allocations: 345.9 kB / 423.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.3199, allocations: 497.7 kB / 424 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.3208, allocations: 0.6694 MB / 424.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3224, allocations: 1.205 MB / 425.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3225, allocations: 4 kB / 425.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002689/0.3252, allocations: 1.62 MB / 427.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3252, allocations: 8 kB / 427.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.3252, allocations: 4 kB / 427.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.3264, allocations: 466.9 kB / 427.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.3271, allocations: 171.8 kB / 428.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009445/0.3365, allocations: 9.296 MB / 437.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.3374, allocations: 47.95 kB / 437.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.3377, allocations: 32 kB / 437.5 MB, free: 15.41 MB / 366.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.001341/0.339, allocations: 0.6534 MB / 438.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.3394, allocations: 98.86 kB / 438.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.3398, allocations: 138 kB / 438.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/0.3399, allocations: 12 kB / 438.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.3399, allocations: 3.938 kB / 438.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3399, allocations: 3.984 kB / 438.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006907/0.3468, allocations: 3.48 MB / 441.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.3469, allocations: 3.938 kB / 441.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.3475, allocations: 131.8 kB / 442 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.3485, allocations: 446.9 kB / 442.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/0.3486, allocations: 31.98 kB / 442.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.3573, allocations: 9.195 MB / 451.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3574, allocations: 8.094 kB / 451.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.361, allocations: 2.307 MB / 454 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.3617, allocations: 271.9 kB / 454.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.362, allocations: 20 kB / 454.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.3626, allocations: 43.95 kB / 454.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.3628, allocations: 100.7 kB / 454.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.3629, allocations: 24 kB / 454.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009687/0.3638, allocations: 0.6044 MB / 455 MB, free: 13.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3639, allocations: 4 kB / 455 MB, free: 13.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001785/0.3656, allocations: 380 kB / 455.4 MB, free: 12.8 MB / 382.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.003891/0.3695, allocations: 2.896 MB / 458.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.3724, allocations: 1.824 MB / 460.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3725, allocations: 4.188 kB / 460.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.3743, allocations: 1.246 MB / 461.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.3758, allocations: 289.8 kB / 461.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.3944, allocations: 12.09 MB / 473.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.396, allocations: 1.718 MB / 475.5 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005488/0.3966, allocations: 188.9 kB / 475.6 MB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007466/0.3973, allocations: 0.6203 MB / 476.3 MB, free: 7.449 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3973, allocations: 4 kB / 476.3 MB, free: 7.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07355/0.4709, allocations: 33.62 MB / 0.4979 GB, free: 5.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.48, allocations: 7.859 kB / 0.4979 GB, free: 5.711 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)