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.001295/0.001295, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.424/1.424, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001901/0.001901, allocations: 225.9 kB / 309.2 MB, free: 3.07 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.04195/0.04195, allocations: 8.936 MB / 374.6 MB, free: 6.59 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.002743/0.002743, allocations: 87.88 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09323, allocations: 55.61 MB / 0.5434 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006201/0.09943, allocations: 4.119 MB / 0.5475 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1019, allocations: 1.176 MB / 0.5486 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004816/0.1024, allocations: 31.75 kB / 0.5486 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.1029, allocations: 174.7 kB / 0.5488 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.1041, allocations: 385.9 kB / 0.5492 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1045, allocations: 179.7 kB / 0.5493 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.1065, allocations: 1.665 MB / 0.551 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/0.1074, allocations: 0.5997 MB / 0.5516 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.1084, allocations: 0.7243 MB / 0.5523 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1098, allocations: 0.8718 MB / 0.5531 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.1102, allocations: 180 kB / 0.5533 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.1106, allocations: 184 kB / 0.5535 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.1111, allocations: 0.4947 MB / 0.5539 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007721/0.1119, allocations: 0.6768 MB / 0.5546 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.1141, allocations: 2.375 MB / 0.5569 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1141, allocations: 4 kB / 0.5569 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1141, allocations: 0 / 0.5569 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.1141, allocations: 0 / 0.5569 GB, free: 7.152 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.003542/0.1177, allocations: 1.766 MB / 0.5587 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.1177, allocations: 15.98 kB / 0.5587 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.118, allocations: 177.4 kB / 0.5588 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.1186, allocations: 180 kB / 0.559 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.1205, allocations: 0.9517 MB / 0.5599 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.009e-05/0.1206, allocations: 86.59 kB / 0.56 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.1208, allocations: 111.9 kB / 0.5601 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.1236, allocations: 1.789 MB / 0.5619 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1236, allocations: 0 / 0.5619 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.1238, allocations: 48 kB / 0.5619 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.1238, allocations: 54.16 kB / 0.562 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.1265, allocations: 1.551 MB / 0.5635 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2311/0.3576, allocations: 4.534 MB / 0.5679 GB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3594, allocations: 1.305 MB / 0.5692 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3605, allocations: 0.8017 MB / 0.57 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3605, allocations: 11.47 kB / 0.57 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3605, allocations: 40.97 kB / 0.57 GB, free: 23.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.936e-06/0.3605, allocations: 0 / 0.57 GB, free: 23.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007882/0.3684, allocations: 3.775 MB / 0.5737 GB, free: 22.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3685, allocations: 62.34 kB / 0.5738 GB, free: 22.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3697, allocations: 0.8906 MB / 0.5746 GB, free: 21.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.3697, allocations: 41.27 kB / 0.5747 GB, free: 21.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.3701, allocations: 0.5157 MB / 0.5752 GB, free: 21.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3704, allocations: 326.5 kB / 0.5755 GB, free: 21.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.3706, allocations: 144.8 kB / 0.5756 GB, free: 21.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.3707, allocations: 339.8 kB / 0.576 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.3716, allocations: 0.495 MB / 0.5764 GB, free: 20.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.3725, allocations: 0.5698 MB / 0.577 GB, free: 20.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3742, allocations: 1.055 MB / 0.578 GB, free: 19.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3742, allocations: 2.219 kB / 0.578 GB, free: 19.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002484/0.3766, allocations: 1.563 MB / 0.5796 GB, free: 19.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3767, allocations: 5.406 kB / 0.5796 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3767, allocations: 2.219 kB / 0.5796 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3778, allocations: 498.2 kB / 0.58 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.3783, allocations: 135.1 kB / 0.5802 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00756/0.3859, allocations: 9.115 MB / 0.5891 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.3865, allocations: 53.58 kB / 0.5891 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.3866, allocations: 26.22 kB / 0.5891 GB, free: 11.94 MB / 382.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.0007741/0.3874, allocations: 0.5001 MB / 0.5896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.3876, allocations: 100.3 kB / 0.5897 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3878, allocations: 130.3 kB / 0.5899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3878, allocations: 12.47 kB / 0.5899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.3878, allocations: 1.438 kB / 0.5899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3879, allocations: 6 kB / 0.5899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.393, allocations: 2.982 MB / 0.5928 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.393, allocations: 0.9375 kB / 0.5928 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.3935, allocations: 115.6 kB / 0.5929 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009215/0.3944, allocations: 485.2 kB / 0.5934 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.3944, allocations: 22.45 kB / 0.5934 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007016/0.4015, allocations: 9.053 MB / 0.6022 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4015, allocations: 5.062 kB / 0.6022 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.4056, allocations: 2.324 MB / 0.6045 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.4063, allocations: 233 kB / 0.6047 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.4065, allocations: 17.31 kB / 0.6047 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.4071, allocations: 61.19 kB / 0.6048 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.4073, allocations: 99.36 kB / 0.6049 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.4074, allocations: 25.02 kB / 0.6049 GB, free: 436 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008524/0.4082, allocations: 0.6356 MB / 0.6055 GB, free: 68 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4082, allocations: 0 / 0.6055 GB, free: 68 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001468/0.4097, allocations: 311 kB / 0.6058 GB, free: 36 kB / 382.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.003966/0.4137, allocations: 2.917 MB / 0.6087 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.4166, allocations: 1.755 MB / 0.6104 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4166, allocations: 0 / 0.6104 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.4184, allocations: 1.225 MB / 0.6116 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.4198, allocations: 292.6 kB / 0.6119 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.4385, allocations: 11.22 MB / 0.6228 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.4397, allocations: 0.8236 MB / 0.6236 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005671/0.4403, allocations: 186.6 kB / 0.6238 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.4409, allocations: 411.3 kB / 0.6242 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4409, allocations: 0 / 0.6242 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08125/0.5222, allocations: 32.59 MB / 0.656 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.05, allocations: 0 / 0.656 GB, free: 13.68 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.855057082138956] Failed to read output from testmodel.py, exit status != 0: 14.192149136215448 14.217762394 14.100030369 Calling exit ...