Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 122.4 kB / 17.74 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 186.9 kB / 20.68 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 51.92 kB / 357.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1353, allocations: 49.43 MB / 407 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0138/0.1492, allocations: 10.72 MB / 417.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.1569, allocations: 3.166 MB / 420.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.1594, allocations: 83.62 kB / 420.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.162, allocations: 0.7099 MB / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.1664, allocations: 1.134 MB / 422.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1679, allocations: 463.4 kB / 423.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006944/0.1749, allocations: 5.143 MB / 428.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2164/0.3913, allocations: 4.776 MB / 433.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004607/0.3959, allocations: 2.383 MB / 435.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004979/0.4009, allocations: 2.768 MB / 438.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.4028, allocations: 0.6239 MB / 438.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.4054, allocations: 0.7066 MB / 439.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.4074, allocations: 1.633 MB / 441.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006745/0.4142, allocations: 2.766 MB / 444 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.4269, allocations: 8.43 MB / 452.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.427, allocations: 3.984 kB / 452.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.427, allocations: 0 / 452.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.4273, allocations: 0 / 452.5 MB, free: 1.203 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01403/0.4413, allocations: 5.224 MB / 457.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4414, allocations: 8.594 kB / 457.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.4425, allocations: 0.564 MB / 458.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.4442, allocations: 0.5689 MB / 458.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006955/0.4511, allocations: 2.864 MB / 461.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.4514, allocations: 294.6 kB / 462 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.4525, allocations: 392.5 kB / 462.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4628, allocations: 5.799 MB / 468.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.4629, allocations: 6.5 kB / 468.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/0.4633, allocations: 161.7 kB / 468.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.4635, allocations: 208 kB / 468.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009286/0.4728, allocations: 5.029 MB / 473.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/0.5039, allocations: 16.22 MB / 489.8 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007992/0.5119, allocations: 6.807 MB / 496.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/0.5161, allocations: 2.614 MB / 499.2 MB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.5165, allocations: 143.6 kB / 499.3 MB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.5166, allocations: 56.56 kB / 499.4 MB, free: 9.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 4.809e-06/0.5166, allocations: 0 / 499.4 MB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02356/0.5401, allocations: 10.77 MB / 0.4982 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5402, allocations: 80.05 kB / 0.4983 GB, free: 14.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006023/0.5463, allocations: 2.628 MB / 0.5008 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.5466, allocations: 71.77 kB / 0.5009 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.5483, allocations: 1.674 MB / 0.5026 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.5494, allocations: 0.8871 MB / 0.5034 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.5504, allocations: 412.7 kB / 0.5038 GB, free: 8.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5506, allocations: 305.1 kB / 0.5041 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.553, allocations: 1.336 MB / 0.5054 GB, free: 7.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.5557, allocations: 1.654 MB / 0.507 GB, free: 5.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/0.5607, allocations: 3.078 MB / 0.51 GB, free: 2.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.5607, allocations: 4 kB / 0.51 GB, free: 2.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008559/0.5693, allocations: 4.472 MB / 0.5144 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.5693, allocations: 11.94 kB / 0.5144 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.5694, allocations: 8 kB / 0.5144 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/0.5749, allocations: 1.653 MB / 0.516 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.5765, allocations: 392.9 kB / 0.5164 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/0.6074, allocations: 25.74 MB / 0.5415 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.6104, allocations: 95.92 kB / 0.5416 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006469/0.6111, allocations: 76.06 kB / 0.5417 GB, free: 0.5352 MB / 446.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.004161/0.6153, allocations: 1.414 MB / 0.5431 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/0.6167, allocations: 308.8 kB / 0.5434 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009976/0.6267, allocations: 4.391 MB / 0.5477 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.6267, allocations: 24 kB / 0.5477 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-05/0.6268, allocations: 8 kB / 0.5477 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/0.6268, allocations: 11.95 kB / 0.5477 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.6459, allocations: 8.776 MB / 0.5563 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6459, allocations: 0 / 0.5563 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.6471, allocations: 289.9 kB / 0.5566 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005491/0.6526, allocations: 1.623 MB / 0.5581 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002352/0.6529, allocations: 59.98 kB / 0.5582 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/0.6829, allocations: 25.49 MB / 0.5831 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.683, allocations: 0.6562 kB / 0.5831 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.6953, allocations: 6.114 MB / 0.5891 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/0.6979, allocations: 0.6826 MB / 0.5897 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/0.6994, allocations: 56 kB / 0.5898 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/0.702, allocations: 119.9 kB / 0.5899 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007807/0.7028, allocations: 216.3 kB / 0.5901 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/0.7031, allocations: 64.45 kB / 0.5902 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00488/0.708, allocations: 1.848 MB / 0.592 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7081, allocations: 0 / 0.592 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005372/0.7134, allocations: 0.9531 MB / 0.5929 GB, free: 10.74 MB / 0.4981 GB 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.01173/0.7252, allocations: 6.829 MB / 0.5996 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008263/0.7335, allocations: 4.889 MB / 0.6044 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.7335, allocations: 4 kB / 0.6044 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005404/0.7389, allocations: 3.365 MB / 0.6076 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/0.7448, allocations: 0.9537 MB / 0.6086 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2643/1.009, allocations: 31.98 MB / 0.6398 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.012, allocations: 3.168 MB / 0.6429 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001728/1.014, allocations: 0.5702 MB / 0.6435 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.015, allocations: 1.469 MB / 0.6449 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/1.015, allocations: 0 / 0.6449 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/1.171, allocations: 91.11 MB / 0.7339 GB, free: 87.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.59/19.76, allocations: 5.531 kB / 0.7339 GB, free: 87.53 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.324041947955266] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'transformer1.l2sigma.inductor[1].i', 'transformer1.l2sigma.inductor[3].i', 'transformer2.l2sigma.inductor[1].i', 'transformer2.l2sigma.inductor[2].i', 'transformer2.l2sigma.inductor[3].i'] 19.911902452120557 19.923198278 19.493804029 Calling exit ...