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.00108/0.00108, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.0009844/0.0009844, allocations: 192 kB / 18.51 MB, free: 4.508 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.274/1.274, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001148/0.001148, allocations: 51.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07692, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007335/0.0843, allocations: 6.18 MB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.08761, allocations: 1.695 MB / 335.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.0883, allocations: 35.88 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.08889, allocations: 297.5 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.09007, allocations: 421.2 kB / 336 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.0907, allocations: 351.6 kB / 336.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.09357, allocations: 2.137 MB / 338.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.09742, allocations: 2.386 MB / 340.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.09916, allocations: 1.016 MB / 341.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1013, allocations: 1.218 MB / 343.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.1019, allocations: 288 kB / 343.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1029, allocations: 427.7 kB / 343.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008526/0.1038, allocations: 0.7052 MB / 344.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.1056, allocations: 1.229 MB / 345.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.1102, allocations: 3.575 MB / 349.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1102, allocations: 0 / 349.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1103, allocations: 0 / 349.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.155e-05/0.1103, allocations: 0 / 349.3 MB, free: 14.3 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.006549/0.1169, allocations: 2.476 MB / 351.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.117, allocations: 8.031 kB / 351.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005766/0.1176, allocations: 299.7 kB / 352.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.1182, allocations: 234.2 kB / 352.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.1209, allocations: 1.162 MB / 353.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.1211, allocations: 160.5 kB / 353.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.1216, allocations: 203.9 kB / 353.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006442/0.128, allocations: 2.618 MB / 356.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.1281, allocations: 0 / 356.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.1284, allocations: 80 kB / 356.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.1285, allocations: 56 kB / 356.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/0.134, allocations: 2.089 MB / 358.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.1502, allocations: 7.408 MB / 366.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.1538, allocations: 2.354 MB / 368.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.156, allocations: 0.947 MB / 369.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.1561, allocations: 20.94 kB / 369.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.1561, allocations: 39.56 kB / 369.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 4.549e-06/0.1561, allocations: 0 / 369.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.01134/0.1675, allocations: 4.173 MB / 373.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1676, allocations: 72.28 kB / 373.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.1692, allocations: 0.8563 MB / 374.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.715e-05/0.1693, allocations: 41.7 kB / 374.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.1701, allocations: 0.8293 MB / 375.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.1704, allocations: 331.3 kB / 375.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.1708, allocations: 170.6 kB / 375.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.171, allocations: 345.9 kB / 376.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.1722, allocations: 0.4938 MB / 376.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.1735, allocations: 0.6733 MB / 377.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.176, allocations: 1.197 MB / 378.6 MB, free: 32 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.1761, allocations: 4 kB / 378.6 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.1495/0.3256, allocations: 1.616 MB / 380.2 MB, free: 51.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.3256, allocations: 6.906 kB / 380.2 MB, free: 51.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.3257, allocations: 6.094 kB / 380.2 MB, free: 51.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3268, allocations: 470.4 kB / 380.7 MB, free: 51.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.3275, allocations: 169.7 kB / 380.8 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/0.3343, allocations: 9.304 MB / 390.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.335, allocations: 48.28 kB / 390.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.335, allocations: 36.34 kB / 390.2 MB, free: 44.51 MB / 318.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.0008712/0.3359, allocations: 0.6384 MB / 390.9 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3361, allocations: 105.1 kB / 391 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3363, allocations: 135.2 kB / 391.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.3363, allocations: 12.17 kB / 391.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3364, allocations: 2.5 kB / 391.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3364, allocations: 4.453 kB / 391.1 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/0.3412, allocations: 3.494 MB / 394.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3412, allocations: 0 / 394.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.3417, allocations: 131.4 kB / 394.7 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/0.3426, allocations: 457.5 kB / 395.2 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.3427, allocations: 17.34 kB / 395.2 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.3489, allocations: 9.216 MB / 404.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3489, allocations: 0.5 kB / 404.4 MB, free: 34.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.3517, allocations: 2.301 MB / 406.7 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.3521, allocations: 282 kB / 407 MB, free: 33.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.3522, allocations: 15.78 kB / 407 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.3526, allocations: 51.95 kB / 407.1 MB, free: 33.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3528, allocations: 93.8 kB / 407.2 MB, free: 33.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.3528, allocations: 30.52 kB / 407.2 MB, free: 33.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006259/0.3535, allocations: 0.6066 MB / 407.8 MB, free: 32.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 407.8 MB, free: 32.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001314/0.3548, allocations: 378.4 kB / 408.2 MB, free: 32.96 MB / 318.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.002832/0.3576, allocations: 2.899 MB / 411.1 MB, free: 30.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.3603, allocations: 2.095 MB / 413.2 MB, free: 28.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3603, allocations: 4 kB / 413.2 MB, free: 28.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.3616, allocations: 1.238 MB / 414.4 MB, free: 27.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3629, allocations: 303.5 kB / 414.7 MB, free: 26.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.3764, allocations: 12.69 MB / 427.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.3774, allocations: 1.718 MB / 429.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004953/0.3779, allocations: 188.9 kB / 429.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/0.3785, allocations: 0.6203 MB / 429.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3785, allocations: 0 / 429.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/0.4442, allocations: 32.89 MB / 462.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.87, allocations: 19.42 kB / 462.8 MB, free: 10.16 MB / 350.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)