Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 108.3 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 249.8 MB, free: 9.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 223.2 kB / 306 MB, free: 4.289 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04237/0.04237, allocations: 8.912 MB / 371 MB, free: 3.434 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 86.69 kB / 495.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3314, allocations: 55.56 MB / 0.5384 GB, free: 26.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004876/0.3363, allocations: 4.548 MB / 0.5428 GB, free: 23.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3385, allocations: 1.226 MB / 0.544 GB, free: 22.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.3388, allocations: 30.84 kB / 0.544 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.3392, allocations: 180 kB / 0.5442 GB, free: 22.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008804/0.3401, allocations: 366.8 kB / 0.5446 GB, free: 22.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.3404, allocations: 175.1 kB / 0.5447 GB, free: 22.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3416, allocations: 1.655 MB / 0.5463 GB, free: 21.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.3424, allocations: 0.8406 MB / 0.5472 GB, free: 20.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.3431, allocations: 0.7292 MB / 0.5479 GB, free: 20.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009073/0.344, allocations: 0.8766 MB / 0.5487 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.3443, allocations: 184.7 kB / 0.5489 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.3445, allocations: 184.8 kB / 0.5491 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.3448, allocations: 0.496 MB / 0.5496 GB, free: 19.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.3455, allocations: 0.8115 MB / 0.5504 GB, free: 19.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.3473, allocations: 2.362 MB / 0.5527 GB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3473, allocations: 0 / 0.5527 GB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3474, allocations: 0 / 0.5527 GB, free: 18.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.3474, allocations: 0 / 0.5527 GB, free: 18.43 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003354/0.3507, allocations: 1.852 MB / 0.5545 GB, free: 17.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3508, allocations: 8.969 kB / 0.5545 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.3511, allocations: 177.9 kB / 0.5547 GB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.3516, allocations: 189.5 kB / 0.5548 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3529, allocations: 1.005 MB / 0.5558 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.353, allocations: 83.23 kB / 0.5559 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3532, allocations: 113.1 kB / 0.556 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.3559, allocations: 1.686 MB / 0.5577 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.356, allocations: 0 / 0.5577 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.3561, allocations: 45.61 kB / 0.5577 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.3561, allocations: 47.33 kB / 0.5577 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.3587, allocations: 1.558 MB / 0.5593 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007904/0.3666, allocations: 4.948 MB / 0.5641 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.3688, allocations: 2.508 MB / 0.5665 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.37, allocations: 0.8023 MB / 0.5673 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.3701, allocations: 9.906 kB / 0.5673 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3701, allocations: 52.38 kB / 0.5674 GB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.006e-06/0.3701, allocations: 0 / 0.5674 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007707/0.3778, allocations: 4.09 MB / 0.5714 GB, free: 7.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3778, allocations: 61.03 kB / 0.5714 GB, free: 7.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.379, allocations: 0.8877 MB / 0.5723 GB, free: 7.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.3791, allocations: 42.14 kB / 0.5723 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3793, allocations: 0.5195 MB / 0.5729 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.3795, allocations: 319.6 kB / 0.5732 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.3797, allocations: 148 kB / 0.5733 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.3798, allocations: 348.7 kB / 0.5736 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.3805, allocations: 498.4 kB / 0.5741 GB, free: 5.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/0.3813, allocations: 0.5677 MB / 0.5747 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.3828, allocations: 1.063 MB / 0.5757 GB, free: 4.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3828, allocations: 5.297 kB / 0.5757 GB, free: 4.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002378/0.3852, allocations: 1.554 MB / 0.5772 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3852, allocations: 8.094 kB / 0.5772 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3852, allocations: 4.859 kB / 0.5772 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3862, allocations: 498.5 kB / 0.5777 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.3868, allocations: 134 kB / 0.5778 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/0.3958, allocations: 9.604 MB / 0.5872 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3969, allocations: 43.94 kB / 0.5873 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.3969, allocations: 28 kB / 0.5873 GB, free: 10.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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 {(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.001178/0.3981, allocations: 0.4989 MB / 0.5878 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.3983, allocations: 99.39 kB / 0.5879 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.3987, allocations: 141.3 kB / 0.588 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3987, allocations: 8 kB / 0.588 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.3987, allocations: 0 / 0.588 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3987, allocations: 7.922 kB / 0.588 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.4045, allocations: 3.149 MB / 0.5911 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4045, allocations: 0 / 0.5911 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.4051, allocations: 120.4 kB / 0.5912 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.4062, allocations: 486.9 kB / 0.5917 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.4062, allocations: 20 kB / 0.5917 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.4163, allocations: 9.531 MB / 0.601 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4163, allocations: 0 / 0.601 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.4204, allocations: 2.344 MB / 0.6033 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.4211, allocations: 296.4 kB / 0.6036 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.4212, allocations: 20 kB / 0.6036 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.4218, allocations: 59.94 kB / 0.6036 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.422, allocations: 88.86 kB / 0.6037 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.4221, allocations: 24 kB / 0.6038 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009647/0.423, allocations: 0.6356 MB / 0.6044 GB, free: 8.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.423, allocations: 0 / 0.6044 GB, free: 8.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001399/0.4244, allocations: 308 kB / 0.6047 GB, free: 8.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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 {(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.004298/0.4287, allocations: 2.92 MB / 0.6075 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003112/0.4318, allocations: 1.76 MB / 0.6092 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4318, allocations: 0 / 0.6092 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.4337, allocations: 1.219 MB / 0.6104 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4352, allocations: 290.2 kB / 0.6107 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.4546, allocations: 11.22 MB / 0.6217 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.456, allocations: 1.412 MB / 0.623 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006448/0.4566, allocations: 191.9 kB / 0.6232 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.4573, allocations: 411.3 kB / 0.6236 GB, free: 4.461 MB / 430.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4573, allocations: 0 / 0.6236 GB, free: 4.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09223/0.5495, allocations: 31.68 MB / 0.6545 GB, free: 5.133 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.24, allocations: 8 kB / 0.6546 GB, free: 5.125 MB / 462.1 MB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.Rectifier_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.219814042997314] Failed to read output from testmodel.py, exit status != 0: 14.352813185993 14.374931833 14.023340516 Calling exit ...