Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.00209/0.00209, 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.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.33 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09386, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01169/0.1056, allocations: 10.73 MB / 368.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1689/0.2745, allocations: 3.228 MB / 371.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.2767, allocations: 86.84 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.2795, allocations: 0.7053 MB / 372.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.2842, allocations: 1.136 MB / 373.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2857, allocations: 472.6 kB / 373.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006371/0.2921, allocations: 5.125 MB / 379.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007197/0.2993, allocations: 4.793 MB / 383.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.3043, allocations: 2.384 MB / 386.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/0.3092, allocations: 2.762 MB / 389 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.3106, allocations: 0.622 MB / 389.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3127, allocations: 0.7066 MB / 390.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.314, allocations: 1.628 MB / 391.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.3171, allocations: 2.771 MB / 394.7 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.3239, allocations: 8.351 MB / 403.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3239, allocations: 0 / 403.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3239, allocations: 8 kB / 403.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.3241, allocations: 0 / 403.1 MB, free: 10.66 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01013/0.3343, allocations: 5.109 MB / 408.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3343, allocations: 12.03 kB / 408.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007562/0.3351, allocations: 0.5503 MB / 408.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.3367, allocations: 0.5771 MB / 409.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.3409, allocations: 2.766 MB / 412.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.3411, allocations: 296 kB / 412.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.3416, allocations: 391.2 kB / 412.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.3534, allocations: 5.798 MB / 418.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.3535, allocations: 4 kB / 418.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/0.3538, allocations: 161.5 kB / 418.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/0.354, allocations: 212 kB / 418.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008631/0.3627, allocations: 5.024 MB / 424 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/0.3908, allocations: 16.39 MB / 440.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007434/0.3983, allocations: 6.806 MB / 447.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/0.4024, allocations: 2.636 MB / 449.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.4027, allocations: 135.1 kB / 449.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.4028, allocations: 64.56 kB / 450 MB, free: 10.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 4.489e-06/0.4028, allocations: 0 / 450 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.02121/0.424, allocations: 10.7 MB / 460.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.4241, allocations: 81.42 kB / 460.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/0.4289, allocations: 2.644 MB / 463.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.4293, allocations: 65.7 kB / 463.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.4306, allocations: 1.65 MB / 465.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.4317, allocations: 0.8399 MB / 466 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.4327, allocations: 412.6 kB / 466.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4329, allocations: 305.1 kB / 466.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4351, allocations: 1.332 MB / 468 MB, free: 8.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.4377, allocations: 1.658 MB / 469.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005366/0.4431, allocations: 3.082 MB / 472.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-05/0.4432, allocations: 4 kB / 472.7 MB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008648/0.4518, allocations: 4.461 MB / 477.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.4519, allocations: 12.06 kB / 477.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.4519, allocations: 8 kB / 477.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/0.4574, allocations: 1.651 MB / 478.9 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4592, allocations: 387.5 kB / 479.2 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.4855, allocations: 25.76 MB / 0.4932 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.4877, allocations: 91.94 kB / 0.4933 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.4881, allocations: 79.98 kB / 0.4933 GB, free: 1.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002638/0.4908, allocations: 1.415 MB / 0.4947 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008731/0.4917, allocations: 292.6 kB / 0.495 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007832/0.4995, allocations: 4.387 MB / 0.4993 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.4996, allocations: 24 kB / 0.4993 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/0.4996, allocations: 8.062 kB / 0.4993 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.4996, allocations: 19.89 kB / 0.4993 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.5155, allocations: 8.885 MB / 0.508 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.5156, allocations: 0 / 0.508 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.5168, allocations: 287.7 kB / 0.5083 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005265/0.522, allocations: 1.616 MB / 0.5099 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/0.5223, allocations: 59.97 kB / 0.5099 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2028/0.7251, allocations: 25.49 MB / 0.5348 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7252, allocations: 0.7188 kB / 0.5348 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.7352, allocations: 6.09 MB / 0.5408 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/0.7374, allocations: 0.6792 MB / 0.5414 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006388/0.738, allocations: 58.38 kB / 0.5415 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.7397, allocations: 122.9 kB / 0.5416 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007641/0.7405, allocations: 209.7 kB / 0.5418 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.7407, allocations: 64.41 kB / 0.5419 GB, free: 130.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003437/0.7441, allocations: 1.858 MB / 0.5437 GB, free: 129.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7441, allocations: 0 / 0.5437 GB, free: 129.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004644/0.7488, allocations: 0.9498 MB / 0.5446 GB, free: 129.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009856/0.7586, allocations: 6.805 MB / 0.5512 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01062/0.7693, allocations: 6.967 MB / 0.558 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7694, allocations: 3 kB / 0.558 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004098/0.7735, allocations: 3.36 MB / 0.5613 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/0.7775, allocations: 0.9577 MB / 0.5623 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/0.8248, allocations: 37.03 MB / 0.5984 GB, free: 83.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.8273, allocations: 3.177 MB / 0.6015 GB, free: 80.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0018/0.8291, allocations: 0.5753 MB / 0.6021 GB, free: 79.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.8305, allocations: 1.468 MB / 0.6035 GB, free: 78.14 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/0.8305, allocations: 0 / 0.6035 GB, free: 78.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3157/1.146, allocations: 92.5 MB / 0.6938 GB, free: 138.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.46, allocations: 5.578 kB / 0.6939 GB, free: 138.2 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_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_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)