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.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.001348/0.001348, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.48/1.48, allocations: 225.6 MB / 244.8 MB, free: 14.22 MB / 206.1 MB " [Timeout remaining time 178] 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.001575/0.001575, allocations: 195.4 kB / 299.8 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04172/0.04172, allocations: 8.934 MB / 363.6 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 83.23 kB / 486 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1123, allocations: 54.42 MB / 0.5278 GB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006399/0.1187, allocations: 4.529 MB / 0.5322 GB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1214, allocations: 1.157 MB / 0.5333 GB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005736/0.122, allocations: 23.88 kB / 0.5334 GB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.1224, allocations: 178.6 kB / 0.5335 GB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.1236, allocations: 362 kB / 0.5339 GB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.124, allocations: 175.7 kB / 0.5341 GB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.1261, allocations: 1.642 MB / 0.5357 GB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.1273, allocations: 0.8375 MB / 0.5365 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.1286, allocations: 0.6971 MB / 0.5372 GB, free: 7.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.1301, allocations: 0.8757 MB / 0.538 GB, free: 6.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.1304, allocations: 184 kB / 0.5382 GB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.1308, allocations: 180 kB / 0.5384 GB, free: 6.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.1313, allocations: 0.4986 MB / 0.5388 GB, free: 5.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.1324, allocations: 0.8129 MB / 0.5396 GB, free: 5.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.1351, allocations: 2.352 MB / 0.5419 GB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1351, allocations: 0 / 0.5419 GB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1351, allocations: 0 / 0.5419 GB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.1351, allocations: 0 / 0.5419 GB, free: 2.699 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003819/0.1389, allocations: 1.838 MB / 0.5437 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.139, allocations: 8.031 kB / 0.5437 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/0.1392, allocations: 181.4 kB / 0.5439 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1395, allocations: 156 kB / 0.5441 GB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.1414, allocations: 0.9899 MB / 0.545 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.1415, allocations: 90.59 kB / 0.5451 GB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.1417, allocations: 119.9 kB / 0.5452 GB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.1446, allocations: 1.685 MB / 0.5469 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.1446, allocations: 0 / 0.5469 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.1447, allocations: 48 kB / 0.5469 GB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.1448, allocations: 42.23 kB / 0.547 GB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.1476, allocations: 1.551 MB / 0.5485 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/0.1567, allocations: 4.96 MB / 0.5533 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.1596, allocations: 2.514 MB / 0.5558 GB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.161, allocations: 0.7941 MB / 0.5565 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.161, allocations: 13 kB / 0.5566 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.1611, allocations: 47.56 kB / 0.5566 GB, free: 3.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.115e-06/0.1611, allocations: 0 / 0.5566 GB, free: 3.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.008738/0.1698, allocations: 4.076 MB / 0.5606 GB, free: 14.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1699, allocations: 68.34 kB / 0.5607 GB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.1714, allocations: 0.8716 MB / 0.5615 GB, free: 13.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.1714, allocations: 41.7 kB / 0.5615 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.1719, allocations: 0.5164 MB / 0.562 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.1722, allocations: 329.2 kB / 0.5624 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.1724, allocations: 142.7 kB / 0.5625 GB, free: 12.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1726, allocations: 345.9 kB / 0.5628 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.1735, allocations: 497.6 kB / 0.5633 GB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.1744, allocations: 0.5684 MB / 0.5639 GB, free: 11.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.1762, allocations: 1.065 MB / 0.5649 GB, free: 10.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1762, allocations: 4 kB / 0.5649 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002848/0.179, allocations: 1.558 MB / 0.5664 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.179, allocations: 6.344 kB / 0.5664 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1791, allocations: 4.094 kB / 0.5664 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.1802, allocations: 494.9 kB / 0.5669 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.1808, allocations: 143.8 kB / 0.567 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.192, allocations: 9.59 MB / 0.5764 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.1928, allocations: 52.03 kB / 0.5765 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.1929, allocations: 28 kB / 0.5765 GB, free: 13.95 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.001025/0.194, allocations: 0.4936 MB / 0.577 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.1943, allocations: 103.3 kB / 0.5771 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1946, allocations: 125.3 kB / 0.5772 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.1946, allocations: 8 kB / 0.5772 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.1946, allocations: 8 kB / 0.5772 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.1946, allocations: 7.969 kB / 0.5772 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.2012, allocations: 3.16 MB / 0.5803 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.2012, allocations: 4 kB / 0.5803 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.2018, allocations: 115.9 kB / 0.5804 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.2029, allocations: 487.3 kB / 0.5809 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.203, allocations: 20 kB / 0.5809 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.2139, allocations: 9.524 MB / 0.5902 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2139, allocations: 0 / 0.5902 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.2185, allocations: 2.34 MB / 0.5925 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.2192, allocations: 296.4 kB / 0.5928 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.2195, allocations: 24 kB / 0.5928 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/0.2203, allocations: 59.88 kB / 0.5928 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.2205, allocations: 88.86 kB / 0.5929 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.2206, allocations: 24 kB / 0.5929 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.2218, allocations: 0.6356 MB / 0.5936 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2218, allocations: 0 / 0.5936 GB, free: 11.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00156/0.2233, allocations: 308 kB / 0.5939 GB, free: 11.45 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.004552/0.2279, allocations: 2.902 MB / 0.5967 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.2309, allocations: 1.756 MB / 0.5984 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2309, allocations: 0 / 0.5984 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.2328, allocations: 1.223 MB / 0.5996 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.2342, allocations: 290.9 kB / 0.5999 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.2526, allocations: 11.18 MB / 0.6108 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.2541, allocations: 1.412 MB / 0.6122 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.2548, allocations: 187.8 kB / 0.6124 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007262/0.2555, allocations: 415.3 kB / 0.6128 GB, free: 7.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2555, allocations: 0 / 0.6128 GB, free: 7.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08673/0.3422, allocations: 31.55 MB / 0.6436 GB, free: 8.539 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.22, allocations: 19.48 kB / 0.6436 GB, free: 8.523 MB / 462.1 MB " [Timeout remaining time 645] (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: 17.523827218916267] Failed to read output from testmodel.py, exit status != 0: 14.515750024002045 14.619404137 14.480316312 Calling exit ...