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.001461/0.001461, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.681/1.681, allocations: 230.6 MB / 253.4 MB, free: 14.41 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.001851/0.001851, allocations: 203.7 kB / 310 MB, free: 3.109 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.04162/0.04162, allocations: 8.917 MB / 375.4 MB, free: 6.73 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.002363/0.002363, allocations: 79.88 kB / 0.49 GB, free: 44.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1125, allocations: 55.61 MB / 0.5443 GB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006337/0.1188, allocations: 4.576 MB / 0.5487 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1214, allocations: 1.231 MB / 0.5499 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1217, allocations: 35.75 kB / 0.55 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.1221, allocations: 178.7 kB / 0.5501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000954/0.1231, allocations: 378 kB / 0.5505 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1234, allocations: 187.7 kB / 0.5507 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.1251, allocations: 1.65 MB / 0.5523 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.126, allocations: 0.6154 MB / 0.5529 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.1269, allocations: 0.7243 MB / 0.5536 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1281, allocations: 0.8757 MB / 0.5545 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.1283, allocations: 180 kB / 0.5546 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1286, allocations: 188 kB / 0.5548 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.1291, allocations: 0.4986 MB / 0.5553 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.1299, allocations: 0.8168 MB / 0.5561 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.1322, allocations: 2.355 MB / 0.5584 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1322, allocations: 0 / 0.5584 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1322, allocations: 0 / 0.5584 GB, free: 6.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.1322, allocations: 0 / 0.5584 GB, free: 6.605 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.00349/0.1357, allocations: 1.78 MB / 0.5601 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1357, allocations: 11.98 kB / 0.5601 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.113e-05/0.1358, allocations: 38.42 kB / 0.5602 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.136, allocations: 177.4 kB / 0.5604 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/0.1366, allocations: 192 kB / 0.5605 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.1382, allocations: 0.9477 MB / 0.5615 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1383, allocations: 86.36 kB / 0.5615 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.1385, allocations: 112 kB / 0.5616 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.1412, allocations: 1.689 MB / 0.5633 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1412, allocations: 0 / 0.5633 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.1413, allocations: 48 kB / 0.5633 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.1414, allocations: 50.22 kB / 0.5634 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3045/0.4459, allocations: 1.555 MB / 0.5649 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.456, allocations: 4.904 MB / 0.5697 GB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.4584, allocations: 1.305 MB / 0.571 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.4597, allocations: 0.8006 MB / 0.5718 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.4598, allocations: 10.97 kB / 0.5718 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4598, allocations: 45.28 kB / 0.5718 GB, free: 23.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.569e-06/0.4598, allocations: 1.078 kB / 0.5718 GB, free: 23.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.00899/0.4688, allocations: 3.78 MB / 0.5755 GB, free: 21.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4689, allocations: 63.88 kB / 0.5756 GB, free: 21.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.4705, allocations: 0.883 MB / 0.5764 GB, free: 21.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.4706, allocations: 42.02 kB / 0.5765 GB, free: 21.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.471, allocations: 0.5142 MB / 0.577 GB, free: 20.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.4713, allocations: 333 kB / 0.5773 GB, free: 20.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.4716, allocations: 148.9 kB / 0.5774 GB, free: 20.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4717, allocations: 342.9 kB / 0.5778 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/0.4727, allocations: 0.4908 MB / 0.5782 GB, free: 20.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/0.4736, allocations: 0.5674 MB / 0.5788 GB, free: 19.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.4755, allocations: 1.064 MB / 0.5798 GB, free: 19.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4755, allocations: 1.344 kB / 0.5798 GB, free: 19.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003184/0.4787, allocations: 1.559 MB / 0.5813 GB, free: 18.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.4787, allocations: 8.25 kB / 0.5814 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4787, allocations: 4.453 kB / 0.5814 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.48, allocations: 0.4896 MB / 0.5818 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.4806, allocations: 131.7 kB / 0.582 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009791/0.4904, allocations: 9.186 MB / 0.5909 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.4916, allocations: 49.2 kB / 0.591 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.4917, allocations: 25.62 kB / 0.591 GB, free: 11.48 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.001283/0.493, allocations: 0.499 MB / 0.5915 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.4933, allocations: 103.5 kB / 0.5916 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.4936, allocations: 134.9 kB / 0.5917 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4936, allocations: 9.344 kB / 0.5917 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.4936, allocations: 2.094 kB / 0.5917 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4937, allocations: 3.797 kB / 0.5917 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.4997, allocations: 3.128 MB / 0.5948 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4997, allocations: 1.094 kB / 0.5948 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.5003, allocations: 123.1 kB / 0.5949 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.5015, allocations: 489.9 kB / 0.5954 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.5016, allocations: 26.3 kB / 0.5954 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009332/0.5109, allocations: 9.108 MB / 0.6043 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5109, allocations: 4.719 kB / 0.6043 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.5156, allocations: 2.33 MB / 0.6066 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.5166, allocations: 221.3 kB / 0.6068 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.5169, allocations: 26.02 kB / 0.6068 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.5177, allocations: 68.28 kB / 0.6069 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.518, allocations: 95.33 kB / 0.607 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.5181, allocations: 24.34 kB / 0.607 GB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.5195, allocations: 0.6356 MB / 0.6076 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5195, allocations: 0 / 0.6076 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00213/0.5216, allocations: 311.6 kB / 0.6079 GB, free: 15.01 MB / 398.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.00476/0.5264, allocations: 2.916 MB / 0.6108 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.5297, allocations: 1.756 MB / 0.6125 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5297, allocations: 0 / 0.6125 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.5317, allocations: 1.227 MB / 0.6137 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.5332, allocations: 295.3 kB / 0.614 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.5522, allocations: 11.22 MB / 0.6249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.5535, allocations: 1.417 MB / 0.6263 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.5541, allocations: 185.6 kB / 0.6265 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.5548, allocations: 419.3 kB / 0.6269 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5548, allocations: 3.938 kB / 0.6269 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/0.6476, allocations: 32.48 MB / 0.6586 GB, free: 12.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.59, allocations: 6.719 kB / 0.6586 GB, free: 12.45 MB / 446.1 MB " [Timeout remaining time 643] (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.9863803969929] Failed to read output from testmodel.py, exit status != 0: 16.780866487068124 16.800072842 16.664332945 Calling exit ...