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.002116/0.002116, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.692/1.692, allocations: 230.6 MB / 250.5 MB, free: 9.387 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.001921/0.001921, allocations: 214.8 kB / 306.7 MB, free: 4.348 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.04341/0.04341, allocations: 8.913 MB / 371.7 MB, free: 3.488 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="cs",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.002873/0.002873, allocations: 83.88 kB / 496.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4089, allocations: 55.56 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.0054/0.4143, allocations: 4.552 MB / 0.5435 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.4172, allocations: 1.227 MB / 0.5447 GB, free: 22.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.4177, allocations: 31.88 kB / 0.5447 GB, free: 22.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.4181, allocations: 183.8 kB / 0.5449 GB, free: 22.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.4195, allocations: 359 kB / 0.5452 GB, free: 22.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.4199, allocations: 182.8 kB / 0.5454 GB, free: 22.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.4215, allocations: 1.655 MB / 0.547 GB, free: 21.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.4224, allocations: 0.8357 MB / 0.5479 GB, free: 20.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.4234, allocations: 0.7306 MB / 0.5486 GB, free: 20.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.4243, allocations: 0.875 MB / 0.5494 GB, free: 20.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.4244, allocations: 180.2 kB / 0.5496 GB, free: 20.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.4247, allocations: 181.8 kB / 0.5498 GB, free: 20.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.4251, allocations: 0.4961 MB / 0.5503 GB, free: 19.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007018/0.4258, allocations: 0.8163 MB / 0.5511 GB, free: 19.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.4278, allocations: 2.361 MB / 0.5534 GB, free: 18.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4278, allocations: 3.469 kB / 0.5534 GB, free: 18.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4278, allocations: 0 / 0.5534 GB, free: 18.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.85e-05/0.4278, allocations: 4 kB / 0.5534 GB, free: 18.45 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.003846/0.4317, allocations: 1.843 MB / 0.5552 GB, free: 17.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.4317, allocations: 9.531 kB / 0.5552 GB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.948e-05/0.4318, allocations: 31.77 kB / 0.5552 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.432, allocations: 182.1 kB / 0.5554 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.4326, allocations: 181.3 kB / 0.5556 GB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.434, allocations: 1.006 MB / 0.5565 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.4341, allocations: 89.05 kB / 0.5566 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.4343, allocations: 107.1 kB / 0.5567 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.4373, allocations: 1.689 MB / 0.5584 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.4373, allocations: 2.938 kB / 0.5584 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4374, allocations: 48.73 kB / 0.5584 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.4375, allocations: 47.62 kB / 0.5585 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/0.4406, allocations: 1.553 MB / 0.56 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.4512, allocations: 4.964 MB / 0.5648 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.4544, allocations: 2.508 MB / 0.5673 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.4562, allocations: 0.7939 MB / 0.5681 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.4562, allocations: 14.34 kB / 0.5681 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.4563, allocations: 44 kB / 0.5681 GB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.638e-06/0.4563, allocations: 0 / 0.5681 GB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.01032/0.4666, allocations: 4.089 MB / 0.5721 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.4667, allocations: 64.75 kB / 0.5722 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.4682, allocations: 0.8879 MB / 0.573 GB, free: 7.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4683, allocations: 45.45 kB / 0.5731 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.4688, allocations: 0.5125 MB / 0.5736 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.469, allocations: 326.8 kB / 0.5739 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.4694, allocations: 152.8 kB / 0.574 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4695, allocations: 338.5 kB / 0.5744 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/0.4705, allocations: 0.4912 MB / 0.5748 GB, free: 5.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.4715, allocations: 0.5645 MB / 0.5754 GB, free: 5.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.4734, allocations: 1.064 MB / 0.5764 GB, free: 5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4734, allocations: 1.375 kB / 0.5764 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003107/0.4765, allocations: 1.561 MB / 0.5779 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.4766, allocations: 6.562 kB / 0.578 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4766, allocations: 0 / 0.578 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.4781, allocations: 490.9 kB / 0.5784 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.4789, allocations: 141.2 kB / 0.5786 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.4913, allocations: 9.608 MB / 0.5879 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4924, allocations: 39.95 kB / 0.588 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.4924, allocations: 28 kB / 0.588 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.001092/0.4935, allocations: 0.495 MB / 0.5885 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4938, allocations: 103.3 kB / 0.5886 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.4941, allocations: 137.5 kB / 0.5887 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4941, allocations: 8 kB / 0.5887 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.4941, allocations: 0 / 0.5887 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.4941, allocations: 7.922 kB / 0.5887 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.4999, allocations: 3.153 MB / 0.5918 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4999, allocations: 3.984 kB / 0.5918 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.5004, allocations: 115.8 kB / 0.5919 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.5015, allocations: 479.1 kB / 0.5924 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.5016, allocations: 31.98 kB / 0.5924 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.5124, allocations: 9.535 MB / 0.6017 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5124, allocations: 0 / 0.6017 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.5167, allocations: 2.332 MB / 0.604 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/0.5174, allocations: 300.4 kB / 0.6043 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.5175, allocations: 19.98 kB / 0.6043 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.5181, allocations: 55.94 kB / 0.6044 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.5184, allocations: 88.88 kB / 0.6044 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.5184, allocations: 24 kB / 0.6045 GB, free: 9.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.5194, allocations: 0.6395 MB / 0.6051 GB, free: 8.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5194, allocations: 0 / 0.6051 GB, free: 8.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001526/0.521, allocations: 312 kB / 0.6054 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.004329/0.5253, allocations: 2.912 MB / 0.6082 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.5287, allocations: 1.76 MB / 0.61 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.5287, allocations: 0 / 0.61 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.5307, allocations: 1.215 MB / 0.6111 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.5323, allocations: 294.9 kB / 0.6114 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/0.5519, allocations: 11.22 MB / 0.6224 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5533, allocations: 1.416 MB / 0.6238 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006802/0.554, allocations: 183.9 kB / 0.6239 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.5546, allocations: 419.2 kB / 0.6243 GB, free: 4.465 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5546, allocations: 0 / 0.6243 GB, free: 4.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/0.6366, allocations: 31.71 MB / 0.6553 GB, free: 5.125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.28, allocations: 7.922 kB / 0.6553 GB, free: 5.117 MB / 462.1 MB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 19.535869689018] Failed to read output from testmodel.py, exit status != 0: 16.45201291097328 16.470464204 16.039194897 Calling exit ...