Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.001599, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007708/0.2992, allocations: 6.886 MB / 415.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.3041, allocations: 2.321 MB / 418 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.3055, allocations: 47.81 kB / 418 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.3071, allocations: 467.8 kB / 418.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.3096, allocations: 0.6876 MB / 419.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.3104, allocations: 275.6 kB / 419.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.3136, allocations: 2.836 MB / 422.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/0.3169, allocations: 2.578 MB / 424.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.3197, allocations: 1.321 MB / 426.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.3224, allocations: 1.545 MB / 427.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3234, allocations: 348 kB / 428.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3248, allocations: 439.8 kB / 428.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.3261, allocations: 0.8921 MB / 429.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.3289, allocations: 1.529 MB / 430.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.3345, allocations: 4.637 MB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.3346, allocations: 4 kB / 435.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3346, allocations: 0 / 435.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001376/0.3347, allocations: 0 / 435.5 MB, free: 6.598 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006588/0.3413, allocations: 3.05 MB / 438.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3414, allocations: 8.031 kB / 438.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.3419, allocations: 332.9 kB / 438.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.343, allocations: 343.1 kB / 439.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.3462, allocations: 1.679 MB / 440.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.3463, allocations: 160.4 kB / 441.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.3467, allocations: 212 kB / 441.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.3518, allocations: 3.186 MB / 444.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.3518, allocations: 3.938 kB / 444.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.352, allocations: 88 kB / 444.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3521, allocations: 112.4 kB / 444.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004305/0.3564, allocations: 2.727 MB / 447.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.3707, allocations: 8.782 MB / 456.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.3742, allocations: 3.391 MB / 459.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.3762, allocations: 1.315 MB / 460.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.3765, allocations: 126.3 kB / 461 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.3765, allocations: 47.88 kB / 461.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.817e-06/0.3766, allocations: 4 kB / 461.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01067/0.3872, allocations: 5.781 MB / 466.9 MB, free: 6.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3873, allocations: 72.7 kB / 466.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.3899, allocations: 1.499 MB / 468.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.39, allocations: 49.7 kB / 468.5 MB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.3907, allocations: 0.9666 MB / 469.4 MB, free: 3.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.3911, allocations: 464 kB / 469.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.3915, allocations: 222.9 kB / 470.1 MB, free: 3.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3917, allocations: 361.9 kB / 470.5 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3928, allocations: 0.6974 MB / 471.2 MB, free: 2.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3939, allocations: 0.8668 MB / 472 MB, free: 1.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.3961, allocations: 1.601 MB / 473.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3961, allocations: 0 / 473.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003999/0.4001, allocations: 2.314 MB / 475.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4002, allocations: 4 kB / 476 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4002, allocations: 4 kB / 476 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.4028, allocations: 0.8267 MB / 476.8 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.4037, allocations: 199.7 kB / 477 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.4162, allocations: 11.49 MB / 488.5 MB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4174, allocations: 51.92 kB / 488.5 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.4176, allocations: 43.98 kB / 488.6 MB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001561/0.4192, allocations: 0.8214 MB / 489.4 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.4197, allocations: 163 kB / 489.5 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.4236, allocations: 2.277 MB / 491.8 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4237, allocations: 16 kB / 491.8 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4237, allocations: 4 kB / 491.8 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.4237, allocations: 7.969 kB / 491.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008804/0.4325, allocations: 4.719 MB / 496.6 MB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4326, allocations: 0 / 496.6 MB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.4333, allocations: 155.8 kB / 496.7 MB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.4359, allocations: 0.8116 MB / 497.5 MB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.436, allocations: 39.98 kB / 497.6 MB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.4482, allocations: 11.38 MB / 0.497 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4482, allocations: 8 kB / 0.497 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.4533, allocations: 3.236 MB / 0.5002 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.4544, allocations: 416 kB / 0.5006 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.4548, allocations: 28 kB / 0.5006 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4558, allocations: 67.94 kB / 0.5007 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.4562, allocations: 121 kB / 0.5008 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.4563, allocations: 36 kB / 0.5008 GB, free: 6.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.4581, allocations: 1.064 MB / 0.5019 GB, free: 5.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4581, allocations: 0 / 0.5019 GB, free: 5.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002154/0.4603, allocations: 0.5117 MB / 0.5024 GB, free: 5.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.005721/0.466, allocations: 3.895 MB / 0.5062 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.4699, allocations: 2.412 MB / 0.5085 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4699, allocations: 4 kB / 0.5085 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4724, allocations: 1.637 MB / 0.5101 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.475, allocations: 0.5076 MB / 0.5106 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/0.5037, allocations: 17.67 MB / 0.5279 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.506, allocations: 2.043 MB / 0.5299 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009781/0.507, allocations: 317.5 kB / 0.5302 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5081, allocations: 0.7805 MB / 0.5309 GB, free: 7.543 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5081, allocations: 0 / 0.5309 GB, free: 7.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/0.812, allocations: 50.57 MB / 0.5803 GB, free: 93.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.24, allocations: 15.98 kB / 0.5803 GB, free: 93.9 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)